On change event for dropdown box

Hello,
we have created view using EEWB as assignmentment block with some fields as dropdown.
I want to change the dropdown values from second dropdown depend upon the first dropdown value.
there no event firing on chaging the values from first dropdown list.
I checked all methods do_handle_event, do_prepare_output and all setter methods including the set/get_v_struct. but still no luck.
does anybody having any idea,  how to raise the event on value change from the first dropdown list.
thanks
Tim

Hello Tim,
And in GET_V of the attribute serving as dropdown you defined an event?
* Set the type of the field:  dropdown menu
   CASE iv_property.
    WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
      rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
    WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
      rv_value = 'select'.
  ENDCASE.
Best Regards,
Yevgen

Similar Messages

  • Data change Event for Information Broadcasting

    Hello Forum
    This is regarding problem with "Data change Event for Information Broadcasting".
    We have integrated the evening in a separate chain which is scheduled after the transaction data load.
    In the settings for the event we have mentioned the infoprovider name based on which the reports are to be distributed.
    Now, when the process chain is executed it does not distributes any reports though the data is changed in the infoprovider.
    However when executed again its distributing it,any ideas what the problem is ?
    Regards
    Ashish

    Hi,
    Check out the t.code  RSRD_LOG.
    have a check at the below link for monitoring via email
    http://help.sap.com/saphelp_nw04/helpdata/en/44/5b2341144ba52fe10000000a155106/frameset.htm

  • [svn:osmf:] 17497: Fix FM-933: ProxyMetadata doesn' t dispatch change events for its initially set inner metadata.

    Revision: 17497
    Revision: 17497
    Author:   [email protected]
    Date:     2010-08-27 09:58:09 -0700 (Fri, 27 Aug 2010)
    Log Message:
    Fix FM-933: ProxyMetadata doesn't dispatch change events for its initially set inner metadata.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-933
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/LoadFromDocumentElement.as
        osmf/trunk/framework/OSMF/org/osmf/elements/ProxyElement.as
        osmf/trunk/framework/OSMF/org/osmf/elements/proxyClasses/ProxyMetadata.as
        osmf/trunk/framework/OSMFTest/org/osmf/elements/TestProxyElement.as

  • SAP MDG - How to activate user settings for Dropdown box Change request?

    Hello Expert,
    I have a question related to Hide DropDown Box Change request.
    When i save change request via collective processing, Change request Dropdown box is displayed. When, i select Change request dropdown list, only change request description is displayed,  not change request number.
    So how to activate access key from user settting ? Could you show me the menu path in order to activate it?
    Best regards,
    RAOELISON

    This is a generic Web Dynpro question and not specific to MDG. Any way, this is how you can do it:
    Right-click the field
    Select: Use Settings --> More
    Check the "Key Visible" checkbox
    Keep in mind this is a user-specific setting and not a global setting.

  • On change event of Dropdown (Loop)

    I am very very new to Adobe and the use of Java. I am attempting to create a form to add or remove users from one of our systems. I have a dropdown box where the end user selects how many users they want to add or remove. In the 'change' event of the dropdown, I have the following:
    if (event.newText == "1")
    aVendorCont1.presence
    = "visible";aVendorEmail1.presence
    = "visible";aVendorCont2.presence
    = "invisible";aVendorEmail2.presence
    = "invisible";aVendorCont3.presence
    = "invisible";aVendorEmail3.presence
    = "invisible";aVendorCont4.presence
    = "invisible";aVendorEmail4.presence
    = "invisible";aVendorCont5.presence
    = "invisible";aVendorEmail5.presence
    = "invisible";aVendorCont6.presence
    = "invisible";aVendorEmail6.presence
    = "invisible";aVendorCont7.presence
    = "invisible";aVendorEmail7.presence
    = "invisible";aVendorCont8.presence
    = "invisible";aVendorEmail8.presence
    = "invisible";aVendorCont9.presence
    = "invisible";aVendorEmail9.presence
    = "invisible";
    else
    aVendorCont1.presence
    = "invisible";aVendorEmail1.presence
    = "invisible";aVendorCont2.presence
    = "invisible";aVendorEmail2.presence
    = "invisible";aVendorCont3.presence
    = "invisible";aVendorEmail3.presence
    = "invisible";aVendorCont4.presence
    = "invisible";aVendorEmail4.presence
    = "invisible";aVendorCont5.presence
    = "invisible";aVendorEmail5.presence
    = "invisible";aVendorCont6.presence
    = "invisible";aVendorEmail6.presence
    = "invisible";aVendorCont7.presence
    = "invisible";aVendorEmail7.presence
    = "invisible";aVendorCont8.presence
    = "invisible";aVendorEmail8.presence
    = "invisible";aVendorCont9.presence
    = "invisible";aVendorEmail9.presence
    = "invisible";
    end
    if
    The user has the choice to add or remove up to 9 users. I havebasically duplicated the above changing the value in the event.newtext and then changing the corresponding presence value to match. How do I get it to loop through the selections? Please keep in mind I am a novice.

    Hello Tim,
    And in GET_V of the attribute serving as dropdown you defined an event?
    * Set the type of the field:  dropdown menu
       CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'select'.
      ENDCASE.
    Best Regards,
    Yevgen

  • Change color for validation box

    Hi,
    I am using JDev 11.1.1.6.0.
    If i have required="true" validation on an input text, Red color box surrounds and shows the validation.
    Is there any way to change the color of that box?
    Thanks
    Nitish

    If there is any you have to use skinning. For this you have to find out which selector is used for the box. You can disable the style compression in your web.xml and run the app, then when you see the box use firebug or any other tool which allows to inspect the page elements. If you select the box you should see the style class names. They normally are the same as the corresponding skin selectors (there is a syntax difference, but you get it when you see it )
    Timo

  • How to handle Text  change event in text box in SAP B1

    Hello Expert...
    How to handle Text  change event in source.
    Please define the Event when i change the text in textbox..
    currently i am using the Lost focus event but it is only occur when tab focus lost from that text box.
    So please required solution ASAP..
    Regards,
    Abhinav Lalpurwala
    Edited by: Abhinav Lalpurwala on Aug 5, 2011 3:19 PM

    Hi,
    Catch the et_VALIDATE event, when InnerEvent = False and ItemChanged = True.
                If pVal.EventType = BoEventTypes.et_VALIDATE Then
                    If pVal.InnerEvent = False And pVal.ItemChanged Then
                        'TODO Your code here...
                    End If
                End If
    Regards,
    Vítor Vieira

  • Change event with dropdown

    Hello
    How can i use a dropdown with javascript and acrobat !
    I need to use a dropDrown, and i need to creat a test when this dropdown change.
    Who can i use a change event !
    Thanks

    You should use the Keystroke or Validate event and look at the value of event.change, event.changeEx, or event.value, depending on what you need to do. See my response to your other post: http://forums.adobe.com/thread/804613?tstart=0

  • LV7: how to catch 'Value change' event for cursor position in XY graph?

    I try to catch an event when the cursor position of a graph's cursor
    changes. I created a reference for the cursor array and registered a dynamic
    event 'Value change' for it. The event does not fire when the cursor changes
    (either by dragging it with the mouse or by direct entry of a new value in
    the cursor's X or Y fields. In contrast, when I register e.g. the 'Mouse Up'
    event for the cursor array, the event IS detected.
    -Franz

    So this is the same behaviour as that of a regular control which also does
    not fire a 'Value changed' event when it gets updated by e.g. writing to a
    local.
    At least the cursor's behavior is consistent then...
    But unfortunately also the direct user interaction with the cursor's numeric
    field does not fire the event, which is NOT consistent.
    I was trying to catch cursor changes in my event loop and had used a 'Mouse
    Up' event of the graph indicator to look for cursor changes (whose last
    position I had kept in a local or shift reg). In order not to miss a direct
    user interaction in the numeric field I added the dynamic event 'Value
    change' to the same event case, but with no success, it missed the direct
    entry ...
    according to what you say this seems to b
    e a bug then...
    -Franz
    "Greg McKaskle" schrieb im Newsbeitrag
    news:[email protected]..
    > > I try to catch an event when the cursor position of a graph's cursor
    > > changes. I created a reference for the cursor array and registered a
    dynamic
    > > event 'Value change' for it. The event does not fire when the cursor
    changes
    > > (either by dragging it with the mouse or by direct entry of a new value
    in
    > > the cursor's X or Y fields. In contrast, when I register e.g. the 'Mouse
    Up'
    > > event for the cursor array, the event IS detected.
    > >
    >
    > The reason is that value change events fire when user action directly on
    > the control changes its value. They do not fire when other programmatic
    > value changes occur. If you are looking at a value change on the cursor
    > palette, user interaction with the numeric should fire it, but updates
    > due to cursor movement are more like programmatic updates.
    >
    > Additional events will likely be added in future
    releases, and these may
    > make it easier to catch cursor movement events on a graph.
    >
    > Greg McKaskle
    >

  • Event for dropdown selection

    Hi.
    I am working on CRM 2007 icwebclient. My requirement is for BP creation either individual or organisation depending on ROLE select mandatory fields are changed.
    If role 'Prospect' is selected then few fields are mandatory or if 'sold-to-party' is selected more fields are madatory..
    Now which event is working behind this dropdown selection. where i have to write my code. How to set fields 'mandatory' at design time. soon reply would be appreciate.

    Hello,
    as this really seems to be a big Issue for people. Thought as developers you might explore my hints on your own.
    For switching the configuration:
    Implement the P-Getter for the attribute on the context node with the following code:
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_server_event.
          rv_value = 'my_event'.
      endcase
    This will trigger a roundtrip. We do not need to handle the event.
    In your view controller implementation class redefine the method DO_CONFIG_DETERMINATION:
    METHOD do_config_determination.
    * Switch configuration that is used based on field value.
      DATA:
        lv_value         TYPE              char2,
        lv_object_type      TYPE              bsp_dlc_object_type       VALUE '<DEFAULT>',
        lv_object_subtype   TYPE              BSP_DLC_OBJECT_SUB_TYPE   value '<DEFAULT>',
        lr_node        TYPE REF TO       if_bol_bo_property_access.
      CALL METHOD super->do_config_determination
        EXPORTING
          iv_first_time = abap_false.
      lr_node = typed_context->some_node->collection_wrapper->get_current( ).
      CHECK lr_node IS BOUND.
      lr_node->get_property_as_value(
        EXPORTING
          iv_attr_name = 'SOME_ATTRIBUTE'
        IMPORTING
          ev_result    = lv_value ).
      lv_object_type = 'MY_UI_OBJECT_TYPE'.
      CASE lv_value .
        WHEN 'SOME_VALUE1'.
          lv_object_subtype = 'JIMBOB'.
        WHEN 'SOME_VALUE2'.
          lv_object_subtype = 'BUBBA'.
      ENDCASE.
      me->set_config_keys( iv_object_type          = lv_object_type
                           iv_object_sub_type      = lv_object_subtype
                           iv_propagate_2_children = abap_true ).
    ENDMETHOD.
    Just paste the above coding into the method.
    What it does:
    1. Get the value you want to check from one of the context nodes.
    2. Switch the UI Object type (Yes you have to define it in customizing)
    3. Switch the UI Sub Object type on base of the field value. (Yes you have to define your own sub object type, this is done via a class that is assigned to your UI Object type in customizing)
    For the other solution: As mentioned I have not tried it myself.
    The variable on the view controller I am talking about is CONFIGURATION_DESCR of interface IF_BSP_DLC_CONFIGURATION. It has got a method GET_CONFIG_DATA that will give you the XML stream and a method SET_CONFIG_DATA. Putting the changed XML back.
    If you had done a were used list for at least one of these methods you would have seen how SAP uses them.
    One example: CL_BSP_WD_OVW_VIEWSET->DO_INIT_CONFIG() however this will not help you on your problem.
    I know there is a method that will decode the XML stream in the single fields with their properties and there is also a counter part to it. I am afraid that many people will use it to bypass the configurations. This will make it very hard to debug the coding. Thus I will not name the class/method here!
    For the sake of maintainability please stick to the first method.
    I have seen people getting the XML and then hardcoding another part into it. Then someone changed the config and an error occurs. You try to find out why, but the original developer is no longer there and has not documented anything...
    cheers Carsten

  • FPM : how to subscribe buttons event for Dialog box

    Hi All,
    I am calling a FPM configuration as popup, i have used standard button CLOSE. Now I wanted to assigned my own action to it. How can i achieve this ?
    As in webdynpro we can use  SUBSCRIBE_TO_BUTTON_EVENT, similarly which method i can use in FPM ?
    E.g. in below case i wanted to write my own code on click of OK button.
            LS_DB_PROP-BUTTON_SET = 2.
             LS_DB_PROP-TEXT_FOR_CLOSE_BUTTON = 'Ok'.
             CALL METHOD LO_FPM->OPEN_DIALOG_BOX
               EXPORTING
                 IV_DIALOG_BOX_ID         = LV_WINDOW_ID
                 IS_DIALOG_BOX_PROPERTIES = LS_DB_PROP
                 IO_EVENT_DATA            = LO_FPM_EVENT_DATA
    *           IV_EVENT_ADAPTS_CONTEXT  =
    Thanks in Advance,
    P$G

    Hi Prathamesh,
    Refer to this Opening and Closing FPM Dialog Boxes which might help you.
    For catching the event :
    When cl_fpm_event=>gc_event_close_dialog_box.
           io_event->mo_event_data->get_value(
             EXPORTING
               iv_key   = 'DIALOG_BUTTON_ACTION'
             IMPORTING
               ev_value = lv_string
           IF lv_string EQ 'CLOSE'.
    Write logic here
         endif.
    Hope it might help you.
    Thanks
    KH

  • Handling button events for dialog boxes of a used component

    Hello,
    After I call a dialog box/window for the view of the used component, how can I handle the button events of the window that I called?
    I create the window using the method CREATE_WINDOW_FOR_CMP_USAGE of the interface IF_WD_WINDOW_MANAGER. This method returns window reference of type IF_WD_WINDOW.
    Thanks & Regards,
    Reena

    It's very easy.
    Have a look to the document: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e242bf5-0901-0010-c99c-83c180163c73
    You will find the SUBSCRIBE_TO_BUTTON_EVENT on page 6.
    Sergio

  • Event for Check box in the list

    hi,
    I have a 10 check boxs in list using
    loop.
    WRITE CHK1 AS CHECKBOX.
    endloop.
    and if I click on 8th checkbox. i need to trigger an event, like what we have in
    AT LINE SELECTION. or  AT USER COMMAND.
    i don't want to use below logic because when there are 300 records it starts reading from first line and giving time out dump. I don't want to run the loop for 300 to find out for one selected box.
    Do.
       ADD 1 TO w_line.
        READ LINE w_line line value INTO porec.
    Enddo.
    pls reply ASAP.
    Thanks,
    Ram.

    I'll confirm that - at least to the best of my knowledge.  There is no event that is triggered when a simple checkbox is ticked on a list.
    You either need to make them buttons (ie at user-command) or hotspots (so the 'click' also triggers at line-selection).

  • CFDebug says, "widget: Firing selection change event for tree id: t1"

    How do I capture this event and code against it.  Previously used this code to trap click event:
    YAHOO.example.onTreeViewAvailble = function() {
      var curTree=ColdFusion.Tree.getTreeObject('t1');
      curTree.subscribe("labelClick", function(node) {  
       TreeItemClick(1,node.data.id)
      When the tree becomes available (ie. after the page loads),
      this code will run the code above this.
      "t1"- tree name in the cftree tag
    YAHOO.util.Event.onAvailable("t1", YAHOO.example.onTreeViewAvailble); 
    I am obviously not an expert with the Yahoo widgets, but I'm learning.
    This stopped working for some reason.  However the CFDebug consistently shows the subject event happening on every mouse click.  I'd rather just use that.  Any ideas?

    Roy, have you tried to reduce the complexity of your user case?
    Try your use case with a simple page without a region in it first and see if you get the eating them. If yes add a region to your page and verify you get the result you expect. Only then add the portal stuff.
    This will help to narrow down the error.
    Timo

  • Transparent Fill for Dropdown Box

    I've made a javascript to change the fill color of a drop down box depending on what is selected. Everything is working as expected except that I can't find how to fill it with a transparent/no fill color. I've found very discouraging info about being able to do this online, but the box starts as transparent (imported the document from a preexising pdf that has the box background at no fill) so I'm hoping that it is still possible. Using CS3, any help is greatly appreciated.

    Code example below. The "1" value is what the box starts at with a transparant/no fill and what I want to change back to that transparent/no fill when selected.
    var vName = this.somExpression;
    var fieldObj = xfa.resolveNode(vName + ".ui.#choiceList.border.fill.color");
    if (this.rawValue == "1") {
         fieldObj.value = "255,255,255";
    else if (this.rawValue == "2") {
         fieldObj.value = "255,255,255";
    else if (this.rawValue == "3") {
         fieldObj.value = "250,250,0";
    else if (this.rawValue == "4") {
         fieldObj.value = "0,145,0";
    else if (this.rawValue == "5") {
         fieldObj.value = "205,0,0";
    else if (this.rawValue == "6") {
         fieldObj.value = "90,90,90";
    else if (this.rawValue == "7") {
         fieldObj.value = "25,25,25";
    else {fieldObj.value = "0,0,0";

Maybe you are looking for

  • How do I get music that is in my Itunes folder, i.e. my own music that was not purchased from the Itunes store, on to my ipod?

    How do i get music that i have put into my itunes folder, i.e. it was not purchased in itunes but from another source, onto my ipod? I have looked at a number of different discussions and none have given me the solution.  I have recently had to do a

  • Error bind variable with "like %" clause ?

    Hello everybody; I would like to know how to do a like clause to bind variables, with this code i obtain 'ORA-00933: SQL command not properly ended' error v_query:= 'UPDATE ' || collection(i) ||' SET REF_PLAN=:quatre_champ WHERE FAM_SIM like ''%'':pr

  • Problems with flashbuttons in IE

    When I load my site in IE and press directly one of the flash buttons it says: The page does not exist. When I go to a normal link and then back to one of the buttons it works ok??? Please help me, the site does work without problems in Safari, IE fo

  • Why can't I unlock sharing and permissions?

    I'm trying to change the administrator's permissions to raed & write. I've done permission repairs several times...all are good. When I click on the lock it unlocks for a second, then relocks. Don

  • Flat file error : SQL :RSDU_TABLE_SPLIT_PARTITION_MSS

    Hi Guys, I have issues in flat file loading, Infopackage is failed with error. The request is yellow in status in RSMO, though the relavane job got cancelled with "RSDU_TABLE_SPLIT_PARTITION_MSS: Error During SQL Execution for Table /BIC/FCUBE_NAME"