How to provide dynamic refresh using 2 drop down

Hi All,
can anybody help me on this issue.
i have 2 drop down lists. both getting the values from data base.when i select the some content in first drop down , the second drop down need to be refresh its content basing on the selected item from first drop down. how can i do this?
Regards,
Ram

When something goes wrong with my programs, which happens far too often, I go back and check the obvious things first.
First, did you map the drop down list's process value change event to a processValueChange method? You do this by right-clicking on the drop down list and selecting Edit Event Handler|processValueChange. JSC automatically creates an empty processValueChange method in the page bean.
Second, did you select the component's Auto-Submit on Change option, either from the popup menu or from the Properties view? If you don't set the auto-submit option, processValueChange never gets called.
If the selection needs to be processed immediately, I usually save the selected item to a session bean (in the processValueChange method) and reference it in prerender to alter what gets displayed on the page based on the selection. (I suspect this is the option you will have to use.)
If the selection doesn't have to be processed immediately, then you can process the selection in the page's submit action method.

Similar Messages

  • Dynamic filter in Design studio using drop-down when data source is Universe

    Hi community,
    Is there anyway to create Cascading filter in Design studio when data source is Universe using drop-down component (Dimension filters cannot be used in my requirement).
    My requirement is,
    I have 2 drop-downs:
    drop-down 1 : shows the regions in a country.
    drop-down 2 : should display states based the region selected in the first drop-down (drop-down 1). Also drop-down 2 should pass selected state as input to the data-source
    Thanks in advance
    Vivek VJ

    Hi Vivek,
    Please check out this post: How to Create Multiple Dropdown boxes (Cascading Filters) when using Universe in the backend.
    Regards,
    Mustafa.

  • How to hard code values in drop down by index

    Hi everyone
    I hav a node containing 2 attributes ie value n key. I am using drop down by index.  Value attribute is bound to my drop dwn box. In key I am providing key value for the value.  I need to hard code 3 value..Can anyone help me how to do so.
    Thanks
    Jaspreet Kaur

    Hi,
    Example for Data Binding of the DropDownByIndex UI Element:
    Procedure at design time:
           1.      Create a view with the name TestView.
           2.      Insert the DropDownByIndex UI element as a container child of the TestView view. (Step 1)
           3.      Create the context structure, as described in step 2.
    Create the context node X with the cardinality 0..n. Insert the value attribute y of the type String into this node. Then perform the data binding of the DropDownByIndex UI element in the Properties window of the View Designer. The texts property must be bound to the value attribute y with the context path description TestView.X.y (step 3).
    The context path TestView.X.y describes the attribute y in the context node X of the view context of the TestView view.
    You can fill the context with test data using the following controller implementation.
    public void wdDoInit()
        //@@begin wdDoInit()
       String[] letters = new String []
       {"A", "B", "C", "D"};
    //Create context elements for the node "X"
       List nodeElements = new ArrayList();
       for (int i =  0; i <letters.length; ++i)
          IPrivateTestView.IXElement xElement = wdContext.createXElement();
          xElement.setY(letters<i>);
          nodeElements.add(xElement);
    //Bind node element list to the node
       wdContext.nodeX().bind(nodeElements);
    //Set node’s lead selection which determines the selected item
       wdContext.nodeX().setLeadSelection(1);
        //@@end
    Regards
    Ayyapparaj

  • SAPGUI 7.20 patch level 7 crashes while working in ALV using drop downs

    We have a set of users that work mostly in ALV transactions and can have a few open at the same time.  They also use the drop downs quite frequently switching back and forth between ALV's.  After working like this for awhile SAPGUI crahses.
    Unfortunately we have not been able to re-create this issue so I have not entered an OSS message.  The only constant is using ALV & drop downs.
    We have done the following:
    Patched the GUI - no help
    upgraded pc's  - These user received new pc's with higher memory & Windows 7 this helped slow down the amount of crashes occurring but did not eliminate them.
    We have monitored the memory on the pc & that does not seem to be the issue.
    Searched OSS, Google & SDN
    They are using the Signature View and IE 8 .
    Has anyone else experienced these issues or maybe have some suggestions on how to proceed?
    Thanks,
    Diane Szmurlo

    Thanks for the response Jude. 
    I cannot say that all ALV users are affected or at least they are not reporting it.  This particular group of users mainly works in ALV & with very large amount of data loaded into the ALV. 
    I watched the user this morning.  She is filling in data using drop downs & ctrl C and  ctrl V, just s few fields at a time.  There was a note about copying large amount of data in ALV but that has been fixed & we have that patch.
    I ran the  nwcheckworkstation and it came back ok.
    I wanted to trace the GUI but we cannot recreate the issue.  So the trace would have to be running for sometime before the user crashes which is not even a guarantee and I am not too sure that is a good idea since traces usually produce large files.  Also not too sure which GUI component to trace.  
    Diane

  • Using Drop down box in a table control

    Hi,
      I'm new to ABAP. I'm trying to use drop down boxes as fields inside a table control.Im using 2 fields (f1 and f2). I want to dynamically populate values in f2 based on f1 i.e once i choose a value in f1 and click on f2 , it should give me a list of values in f2 based on the value of f1. f1 and f2 are from different tables.
    what i have done : i am able to populate values in f2 (based on the value of f1)
    Problem::
    1. Once i choose a value in the field f1, the value is not remaining in the field. Once i choose, the value blinks for a while and goes off ! ... ( my guess :: PBO is clearing it )
    2. After i choose a value in f1 in the first row, the corresponding values in f2 are getting populated in all the rows.

    Hi!
    For your first problem: Try to handle normal field (without table control) first.
    In PAI, you have to move value from dynpro field to your program field. In case of tables, you have to modify corresponding line of internal table.
    Then next PBO will read updated value and screen display doesn't loose any longer changes.
    In case of identical naming of screen fields / global fields in program, some movements are done automatically by system based on this naming. That's of course not possible with internal tables, so try a global field with a name different to field on screen to see the behavior.
    For your second problem: I guess, your struggling with a global work area of your internal table, which is not correctly filled with screen values for each time -> once filled, all lines changed.
    Regards,
    Christian

  • How can I enable the automated drop down for the subject line on the email page

    How can I enable the automated drop down for the subject line on the email page as I send more than 300 emails everyday with the same subject line. Before it use to happen in my gmail account but now its not. Please help me as its increasing my work time because I have to type the subject line again and again on each email I send. Please help me guys.

    This is usually caused by one or more bookmarks having a long title.
    You can check that folder in the Library and shorten long names.
    * Bookmarks > Show Al Bookmarks
    *Bug 626066 - History, Bookmarks menus too wide because of pages with long titles on 64bits
    <i>Please do not comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i>

  • How can I display images in drop down.

    Hi All,
    How can I display images in drop down.
    <select><option>image here</option></select>
    please reply soon.
    anser please
    Thanks

    I have not found html forum..That's just incredible.
    where can i find it ?Sorry, I'm still recovering from that remark.
    please reply soonEvery time you end a post with this, or "urgent" or other such keywords, the forum automatically introduces a 5 minute delay so that will actually make the whole process slower (not faster).

  • How to get "tones" tab  in drop down menu

    how to get "tones" tab  in drop down menu

    I assume that you are referring to the categories on your iTunes library (?), if you are then go into Edit > Preferences and on the General tab make sure that Tones is ticked
    You can also enable the left-hand sidebar on iTunes 11 on a PC via control-S, which then allows you to view the sections of your library (those enabled in Preferences) via that sidebar, and if you have iOS devices they will also show on that sidebar when connected.

  • How to create a multi select drop down filed in crm 7.0

    Hi All,
            I need to create a multi select drop down field in crm web ui where one field have 7 value and we can select more than one value at a time.I have no idea how to create a multi select drop down field in web ui.
    Please help.....

    Hi vishwas
    Please follow the thread where a similar requirement was posted.
    Re: Drop-down list box / pick-list with multiple selections at a time
    Here the suggestions say that a workaround could be to associate a table view to the field.
    Regards,
    Nisha

  • RE: Using Drop-Down List in Express Application

    The easiest way to do this is to define a domain for Gender that maps to
    a droplist widget. ForteExpress will then automatically display the
    widget in any ArrayWindow or FormWindow in which Gender appears. (I
    don't think outlinefields support this widget.) There is a documented
    customization for adding SQL to the domain to automatically fill it, but
    we've found this to be a performance drag. What we usually do is cache
    this type of list information on the client, usually by loading it into
    arrays of listelement in a service object at user logon. The list is
    then ready to go whenever a window needs it, and you can set the element
    list of the droplist in PostOpenInit or wherever it seems appropriate.
    From: David Wilbur[SMTP:[email protected]]
    Sent: Wednesday, February 26, 1997 2:21 PM
    To: [email protected]
    Subject: Using Drop-Down List in Express Application
    To: [email protected]
    cc:
    Subject: Using Drop-Down List in Express Application
    On an Express generated Form window I want to use a drop-down list to
    define the list of valid values for a database field. The underlying
    database field could have a datatype of either integer or character.
    For example, on the database we have a Gender column defined. I want to
    use a drop-down list that displays descriptions of "Male" and "Female" for
    allowed database values of "M" and "F". The Gender column is updateable on
    the window.
    Any suggestions on the best way to do this? Would we need to do anything
    different on Array windows?
    David Wilbur email: [email protected]
    University of Windsor phone: 519-253-4232 ext. 2779
    Windsor, Ontario Canada

    Hai Please try the following code
    You have to make some changes according to your system i am using
    MSSqlserver Driver change the class name and the connection string
    for your need
    <HTML>
    <HEAD>
    <%@ page language="java" import="java.sql.*"%>
    <LINK href="../theme/Master.css" rel="stylesheet" type="text/css">
    <TITLE>ListDrop.jsp</TITLE>
    <%!Connection con;
         %>
    </HEAD>
    <BODY>
    <select>
         <%
              try {
                   Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");\\Here you specify the Class Nale
                   con = DriverManager
                             .getConnection(
                                       "jdbc:microsoft:sqlserver://javaserver:1433;DatabaseName=karthi",
                                       "sa", "sa");\\here Connection string
                   ResultSet rs;
                   Statement st = con.createStatement();
                   rs = st.executeQuery("select SerialNo,Food from Foods");
                   while (rs.next()) {
    %>
         <option value='<%= rs.getString("SerialNo") %>'><%= rs.getString("Food")%></option>
         <%
              } catch (Exception e) {
                   e.printStackTrace();
    %>
    </select>
    </BODY>
    </HTML>

  • Using Drop-Down List in Express Application

    To: [email protected]
    cc:
    Subject: Using Drop-Down List in Express Application
    On an Express generated Form window I want to use a drop-down list to
    define the list of valid values for a database field. The underlying
    database field could have a datatype of either integer or character.
    For example, on the database we have a Gender column defined. I want to
    use a drop-down list that displays descriptions of "Male" and "Female" for
    allowed database values of "M" and "F". The Gender column is updateable on
    the window.
    Any suggestions on the best way to do this? Would we need to do anything
    different on Array windows?
    David Wilbur email: [email protected]
    University of Windsor phone: 519-253-4232 ext. 2779
    Windsor, Ontario Canada
    -----------------------------------------------

    Hai Please try the following code
    You have to make some changes according to your system i am using
    MSSqlserver Driver change the class name and the connection string
    for your need
    <HTML>
    <HEAD>
    <%@ page language="java" import="java.sql.*"%>
    <LINK href="../theme/Master.css" rel="stylesheet" type="text/css">
    <TITLE>ListDrop.jsp</TITLE>
    <%!Connection con;
         %>
    </HEAD>
    <BODY>
    <select>
         <%
              try {
                   Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");\\Here you specify the Class Nale
                   con = DriverManager
                             .getConnection(
                                       "jdbc:microsoft:sqlserver://javaserver:1433;DatabaseName=karthi",
                                       "sa", "sa");\\here Connection string
                   ResultSet rs;
                   Statement st = con.createStatement();
                   rs = st.executeQuery("select SerialNo,Food from Foods");
                   while (rs.next()) {
    %>
         <option value='<%= rs.getString("SerialNo") %>'><%= rs.getString("Food")%></option>
         <%
              } catch (Exception e) {
                   e.printStackTrace();
    %>
    </select>
    </BODY>
    </HTML>

  • How to get value in Second Drop Down based on selection made in first dropd

    Hi All,
    I have a table with first two columns as dropdown.
    The values in first drop down are fixed. However the value in second dropdown should be populated based on selection made in first .
    e.g
    First Column had different departments say IT, SALES, HR.
    Based on department selected I have to populate employee of that department.
    For first dropdown I have taken Drop down by index.
    What should I select for second drop down and achieve desired functionality? Please guide.
    Regards,
    Madhvika

    Hi
    Use drop down by key for fixed values IT, SALES, HR. create on_select action for that drop down.
    in on_select method code like this..
      DATA lo_nd_segment1 TYPE REF TO if_wd_context_node.
      DATA lo_el_segment1 TYPE REF TO if_wd_context_element.
      DATA ls_segment1 TYPE wd_this->Element_segment1.
      data lt_segment1 type wd_this->elements_segment1.
      DATA lv_segment TYPE wd_this->Element_segment1-segment.
      data lr_column type ref to cl_wd_table_column.
    navigate from <CONTEXT> to <SEGMENT1> via lead selection
      lo_nd_segment1 = wd_context->get_child_node( name = wd_this->wdctx_segment1 ).
    get element via lead selection
      lo_el_segment1 = lo_nd_segment1->get_element( ).
      lo_el_segment1 = WDEVENT->GET_CONTEXT_ELEMENT( 'CONTEXT_ELEMENT' ).
    get all declared attributes
      lo_el_segment1->get_static_attributes(
        IMPORTING
          static_attributes = ls_segment1 ).
    now ls_segment1 contains your first drop down selection value.
      DATA : lv_dropdown type string .
      lv_dropdown =  ls_segment1-segment.
      if lv_dropdown = 'IT'.
    // here fill your second drop down based on IT value.
    endif.
    Hope it solves.
    Cheers,
    Kris.

  • Missing Export and Use Drop Down Lists

    I cannot export my .mov files to any format other than .mov as the Export and Use drop down lists are missing. When I go to File > Export the text for Export and Use are there followed by blank gray space as if the drop down lists never existed.
    I just upgraded to Pro today and had infrequently used QuickTime Player previously. I have the most current version 7.6.5. The other functions appear to be working normally, but I am not a "familiar user" so I can't say for sure.
    Any ideas?

    Well I could not copy & paste the text from the Movie Inspector, so I have typed it below (except for the complete source info).
    Source: C:\....Filename.MOV
    Format: 16-bit Integer (Little Endian), Mono, 44.100 KHz
    MPEG-4 Video, 1280 x 720, Millions
    Movie FPS: 30.01
    Playing FPS: 30.01
    Data Size: 8.16 MB
    Data Rate: 6.99 mbits/sec
    Current Time: 00:00:00.00
    Duration: 00:00:09.80
    Normal Size: 1280 x 720 pixels
    Current Size: 1280 x 720 pixels
    I have also downloaded a couple of iPod hip-hop ad movies (.mov) and they have the same problem (no export drop-down lists), so I don't believe it is the movie format.
    I have not tried to uninstall/reinstall QuickTime Pro yet, but wonder if I should....

  • How to I remove the Bing Drop Down Banner on MSN Homepage

    How do we remove the Bing drop down banner search bar from MSN. We are running Windows Vista and Firefox 4.

    Install Firefox and the Add on called Ad Block Plus, subscribe to the "Easy List" (almost automatic)
    When the image appears again, right click on it and there will be a Ad Block Plus menu option which you then can block the image server.
    Ad Block Plus is wonderful at blocking all sorts of image servers

  • How can I add categories to drop-down lists or check-boxes?

    hello can I use sub categories or group items by labels when using drop-down lists or check-boxes?

    You can't include sub-menus in a drop-down. What is possible, though, is to populate another drop-down based on the selection made in the first one, or use a pop-up menu. Both things require a script, though.

Maybe you are looking for

  • PowerMac G5 OS 10.4.11 Won't boot

    Hi, This morning one of our MacPro G5 wouldn't boot. Power LED stays solid on, but no chime, no video, no nothing. It won't even recognize the keyboards (tried different ones just in case), so I can't even try to boot from the install media nor clear

  • We are getting Licensing for product stopped working error on Mac OSX 10.6 computers

    We are getting error " Licensing for this product has stopped working.  This product has encountered a problem which requires that you restart your computer before it can be launched.  If you continue to see this message after restarting your compute

  • Report calling

    Hi, I have created a module pool program with single screen. how can i call selection screen of some other program in this screen. Thanx in advance Vivek Gaur

  • My program won't run.

    i'm brand new to java and i'm working on the examples to learn the language. i followed all the instructions from this page www.netbeans.org/kb/articles/gui-functionality.html. it complies just fine and when i click run it doesn't give me any errors,

  • Flashing Folder and a 4SNS Error - too Late ?

    Greetings I recently came home to find my iMac making some rather noisy sounds. Apps locked and unresponsive. After restarting I go the flashing folder with the ?. Inserting the OS X install disk didn't work and neither did a few other things that ar