Populate List Box

Hi,
          I am new to Weblogic 8.1 and was with .NET for last couple of years. I need to populate a list box in my jsp page. I have a database control method that returns a String array and this should be shown in the list box. I would like to know what is the efficient way to do this in 8.1.
          Thank you
          Jik

You have 2 choices, you can do all of the database work, and return all this to the web page, and make javascript repopulate all of the listboxes on the fly (faster for small datasets, ridiculous for large ones) , or otherwise you'll have to do another round trip to the server. You don't need to use javascript to do this, just resubmit and get the jsp to revalutae the values in the list boxes

Similar Messages

  • How to populate list box in module pool program

    How to populate list box in module pool program.
    Please give me reply as soon as posible
    regards,
    Venu.

    hi,
    go thrugh the folling code .
    TABLES sdyn_conn.
    DATA   ok_code TYPE sy-ucomm.
    Global data
    TYPES: BEGIN OF type_carrid,
             carrid type spfli-carrid,
             carrname type scarr-carrname,
           END OF type_carrid.
    DATA itab_carrid TYPE STANDARD TABLE OF type_carrid.
    *& Processing Blocks called by the Runtime Environment                 *
    Event Block START-OF-SELECTION
    START-OF-SELECTION.
      CALL SCREEN 100.
    Dialog Module PBO
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    Dialog Modules PAI
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'SELECTED'.
          MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
      ENDCASE.
    ENDMODULE.
    Dialog Module POV
    MODULE create_dropdown_box INPUT.
      SELECT carrid carrname
                    FROM scarr
                    INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'CARRID'
                value_org       = 'S'
           TABLES
                value_tab       = itab_carrid
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.
    ENDMODULE.
    the following code should be included in flow logic of screen
    process on value-request.
      field scarr-carrname  module create_dropdown_box.
    in module pool select list box.
    hope it is useful.
    regards,
    sreelakshmi.

  • Using LDAP data to populate list box

    Hi All,
    I have set up my authentication scheme reading the company LDAP using the dn string etc.
    I have created a table which holds all the staff details ( email etc ) but would like to have this data read directly from LDAP at login time or when required. The data ( username, email address, phone number and known-as credentials ) should be able to be used to populate list boxes.
    Any ideas ?
    Thanks - Robert @ london gov

    Hi Robert,
    The following thread might help give you a few ideas -
    Re: Cookie And LDAP
    I use that method to query my LDAP server and also use a materialized view (with timed refreshes) to be able to query information quicker than querying the LDAP server each time.

  • Warning using DWR to populate list box

    hi all,
    iam trying to use DWR for populating list box wen a check box is checked.iam using Tomcat 4.1 & j2sdk 1.4.2
    but iam getting an alert: illegal access to default constructor Aug 20, 2006 6:30:43 PM uk.ltd.getahead.dwr.util.CommonsLoggingOutput warn
    WARNING: Method execution failed:
    java.lang.InstantiationException: Illegal Access to default constructor
            at uk.ltd.getahead.dwr.create.NewCreator.getInstance(NewCreator.java:62)
            at uk.ltd.getahead.dwr.impl.ExecuteQuery.execute(ExecuteQuery.java:172)
            at uk.ltd.getahead.dwr.impl.DefaultExecProcessor.handle(DefaultExecProce
    ssor.java:48)
            at uk.ltd.getahead.dwr.impl.DefaultProcessor.handle(DefaultProcessor.jav
    a:81)
            at uk.ltd.getahead.dwr.AbstractDWRServlet.doPost(AbstractDWRServlet.java
    :162)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:256)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:191)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2415)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:180)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:171)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:172)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:174)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
    3)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :594)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ssConnection(Http11Protocol.java:392)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
    :565)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:619)
            at java.lang.Thread.run(Thread.java:534)
    Aug 20, 2006 6:30:43 PM uk.ltd.getahead.dwr.util.CommonsLoggingOutput warn
    WARNING: Erroring: id[53_1156078843109] message[uk.ltd.getahead.dwr.OutboundVari
    able@497904]my code goes here,
    package db;
    import java.util.*;
    class ArrayL 
         public ArrayL()
              System.out.println("In constructor");
         public ArrayList getA(String x)
              ArrayList al=new ArrayList();
              al.add("1");
              al.add("6");
              al.add("42");
              al.add("16");
              al.add("3");
              System.out.println("al-------"+al);
              return al;
         public int[] getNumbers(boolean big)
            if (big)
                return new int[]
                    1000, 2000, 3000, 4000
            else
                return new int[]
                    1, 2, 3, 4, 5, 6, 7, 8, 9, 10
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 1.0//EN"
        "http://www.getahead.ltd.uk/dwr/dwr10.dtd">
    <dwr>
      <allow>
        <create creator="new" javascript="Demo" scope="session">
          <param name="class" value="uk.ltd.getahead.dwr.Demo"/>
        </create>
         <create creator="new" javascript="ArrayL" scope="session">
          <param name="class" value="db.ArrayL"/>
        </create>
      </allow>
    </dwr>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <script type='text/javascript'
        src='/ajax1/dwr/engine.js'></script>
    <script type='text/javascript'
        src='/ajax1/dwr/interface/ArrayL.js'></script>
    <script type='text/javascript'
        src='/ajax1/dwr/util.js'></script>
         <SCRIPT type='text/javascript'>
         <!--
                   function continentSelected()
                        var searchexp = $("continent").value;
                        ArrayL.getNumbers(searchexp, displayItems);
                        return false;
                   function displayItems(items)
                        DWRUtil.removeAllOptions("country");
                      DWRUtil.addOptions("country", data);          
                        if (items.length == 0)
                             alert("No matching products found");
                             $("country").style.visibility = "hidden";
         //-->
         </SCRIPT>
    </HEAD>
    <BODY>
      <FORM NAME="countryform" ID="countryform" ACTION="doCountry" METHOD="POST">
        <SELECT name="continent" id="continent" onChange="continentSelected();">
          <OPTION VALUE="Africa">Africa</OPTION>
          <OPTION VALUE="America">America</OPTION>
          <OPTION VALUE="Asia">Asia</OPTION>
          <OPTION VALUE="Australia">Australia</OPTION>
          <OPTION VALUE="Europe">Europe</OPTION>
        </SELECT>
        <SELECT name="country" id="country">
        </SELECT>
    </BODY>
    </HTML>can any one help with this problem
    Thank u in advance

    I'm not sure if the code you display is 'Exactly' how it is written.
    If it is:
    1) The class needs to be public (i.e. public class ArrayL {.....})
    2) In the code below, the value of searchexp is a string
               var searchexp = $("continent").value;
              ArrayL.getNumbers(searchexp, displayItems); but the function
    public int[] getNumbers(boolean big) takes a boolean.
    3) In the call DWRUtil.addOptions("country", data); 'data' isn't defined did you mean 'items'?
    Finally in the statement that you have if (items.length == 0) I have found that does not work with Collections (at least Maps) returned from a method to DWR (as of 1.1.3).
    Good luck

  • List box in dialog programming

    Hi Frnds,
                  i am working on a complex scenario,
    i want to print 3 list box.
    first one i can show but the problem is with second one and third one.
    first list box have three fields suppose
    program
    events
    movies
    when user will select either one , suppose he will select program
    then in second listbox program releted entries should be displayed like fiction , non fiction.
    and when he will select any entry then in third list box corresponding sub entries should be come.
    all data i have in ztables.
    i can make search help also.
    any suggestion should be appreciated.
    Thanks and Regards
    vijay

    Use this program!
    TYPE-POOLS: vrm.
    DATA: name TYPE vrm_id, list TYPE vrm_values, value LIKE LINE OF list.
    TABLES: sscrfields.
    Selection screen
    List box
    PARAMETERS: ps_parm AS LISTBOX VISIBLE LENGTH 10
                              USER-COMMAND abc.
    Radio buttons
    PARAMETERS: rb1 RADIOBUTTON GROUP ab MODIF ID bl2,
                rb2 RADIOBUTTON GROUP ab MODIF ID bl2,
                rb3 RADIOBUTTON GROUP ab MODIF ID bl3.
    INITIALIZATION.
    Populate list box values
      name = 'PS_PARM'.
      value-key = '1'. value-text = 'Line 1'. APPEND value TO list.
      value-key = '2'. value-text = 'Line 2'. APPEND value TO list.
    AT SELECTION-SCREEN OUTPUT.
    Set list box with value
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = name
          values = list.
    Control the display of screen components
      LOOP AT SCREEN.
        IF ps_parm = 1.
          IF screen-name = 'RB1' OR screen-name = 'RB2' .
            screen-invisible = 0.
          ELSEIF screen-name = 'RB3'.
            screen-invisible = 1.
          ENDIF.
          MODIFY SCREEN.
        ELSEIF ps_parm = 2.
          IF screen-name = 'RB1' OR screen-name = 'RB2' .
            screen-invisible = 1.
          ELSEIF screen-name = 'RB3'.
            screen-invisible = 0.
          ENDIF.
          MODIFY SCREEN.
        ELSEIF ps_parm = space.
          rb1 = 'X'.
          clear: rb2,rb3.
          IF screen-name = 'RB1' OR screen-name = 'RB2' OR
             screen-name = 'RB3'.
            screen-invisible = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    AT SELECTION-SCREEN.
      IF sscrfields-ucomm = 'ABC'.
      ENDIF.
    START-OF-SELECTION.
      WRITE: / 'Parameter:', ps_parm.
    And use:
    AT-SELECTION-SCREEN on value request for p_yyyy.
    if p_xxxx-key is not initial..
    get the values required for second parameter...or listbox..
    endif..
    similarily for 3rd listbox also!

  • How do I use a drop-down list to populate a list box

    I'm using livecycle 8:
    I basically have a drop down list with many selections available. I want the function to be when they select from the drop-down the choice they made appears in a list box next to the drop-down box. If they choose to add additional selections from the drop-down list they will add to the list field as well. If anyone has seen one of those on-line job application sites where you have a list of qualities on the left and you can select them and they populate to a list on the right, That is basically what I want.
    I'm not too familiar with adobe quite yet and if you can break the process down as much as possible I would greatly appreciate it.

    Here are my two drop down lists. As you can see I build the second list dynamically based off the value of the year. I want to be able to assign my year to the value I select in this first drop down. How do I do that?? I only want to show games for the year I select. I currently have the year hardcoded to "2009" as you see below. How can i change that to be assigned to the JavaScript value i extract from the first select box?
    <select name="season">
    <option value='2009' selected>2009</option>
    <option value='2008'>2008</option>
    </select>
    <select name="gameselect">
    <%
    try
    String year = "2009";
    String connectionURL = "jdbc:mysql://localhost:3306/ElmwoodExpos";
    Class.forName("com.mysql.jdbc.Driver");
    Connection con = DriverManager.getConnection(connectionURL, "root", "thejedster");
    String sql = "SELECT GameId, GameDescription FROM Games WHERE Year = " + year;
    Statement s = con.createStatement();
    s.executeQuery(sql);
    ResultSet rs = s.getResultSet();
    while(rs.next())
    %>
    <option value="1"><% out.print(rs.getString("GameDescription"));%></option>
    <%
    catch(Exception e)
    %>
    </select>
    Thanks,
    Jed

  • How to populate values in List Box in Adobe form

    Hi,
    How to populate values in List box in adobe forms?
    Thanks
    RB

    if you want to display a fixed values in the dropdown you can use list box ui and can specify values there
    or if u want to display values from the context node of the webdynpro
    1. Drag and drop a Value Help Drop-down List element from the Web Dynpro Library tab to the Body Pages pane.
    2. Drag and drop your node from the Data View tab onto it. This action binds the layout element to the corresponding node.
    with regards
    shanto aloor

  • How to populate a list box linked to selection in combo box?

    Hi All,
    I am a beginner in Xcelsius. I am having problem on how to populate a list box based on the selection on my combo box.
    I have a combo box and a list box.  The combo box value consist of Countries. Values are:
    Singapore
    Indonesia
    Thailand
    When I select, for i.e. Indonesia, I want to populate the list box with all the Postal Code of Indonesia. When I select Thailand, i want to do the same.
    Can anyone shed some lights on how to achieve this?
    My spreadsheet data is as follow
    Country         Postal Code
    Singapore     680123
    Singapore     680124
    Singapore     680125
    Indonesia     155123
    Indonesia     155124
    Indonesia     155125
    Indonesia     155126
    Thailand       333123
    Many Thanks,
    Harianto

    Hi,
    I am detailing the complete steps below:
    In the combobox select the entire range of Country while seeing the records from the Combobox, Xcelsius will automatically show the unique values in the selection.
    After that in the "Data Insertion" section for Combobox select the "Insertion Type" as "Filtered Rows" (please click on the question mark beside this option and it will show how the selection works).
    In the source select the postal code, in the destination select the range which will be used as a data source for the list box.
    This will resolve the concern. Please remember to select the question mark beside the "Insertion Type" option, it explains the working in specific details.
    Best of luck.
    Regards,
    Gourav

  • How do I populate form fields depending on the value of a list box?

    Hi,
    Can anybody help me out here?
    I'm creating a form where I'm needing to populate a number of fields (first name & last name) based on the value of a list box (values are 1,2,3,4,5,6) ie: if 3 is selected 3 sets of the first name and last name fields populate on the page for the user to fill out.
    At this stage it is just a prototype site and there is no database running behind it.
    Thanks
    Hayden

    This can only be solved if you have javascript coding skills.  Without knowing more about what you want to do and why, I can only show you a skeleton of how your code should look, but consider this form select field -
    <select onchange="populateForm()">
    When a value is selected from that list, the "onchange" event will fire, and will call the javascript function called populateForm().  You need to define a function by that name somewhere on the page -
    <script type="text/javascript">
    //<![CDATA[
    function populateForm(value) {
         if value >0 { document.getElementById("fieldID").style.display='block' }
         if value >1 { .... }
         etc.
    //]]>
    </script>
    The page itself would need to have ALL the fields already in the form, but with those that are to be revealed set to a style of display:none.
    Obviously, this is a skinny skeleton.  Each test in the function would reveal a new field on the page by changing its display style from "none" (which is how they should be set in the code) to "block".  You would need a separate function for each type of field that might need to be chosen.
    If this is well over your head, then I'm afraid you will be out of luck for this particular approach....

  • Livecycle populate text field with multiple records from list box

    Can someone tell me how can I populate a text field from list box when I have multiple select.
    Here is example:
    List box consist: Hello
                             World.
    I want to see this in text field: Hello,World.
    Thanks!

    Hi Legro
    I don't know if I understand you correctly, but you can do something like this:
    ----------------- java script begin ---------------------------------
    //Reset text field
    TextField.rawValue = "";
    //loop through items in listbox
    for(i = 0; i < ListBox.length; i++)
              //if item selected
              if(ListBox.getItemState(i))
                        //check if Text field value if null
                        if (TextField.isNull)
                                  TextField.rawValue = ListBox.getDisplayItem(i);
                        else
                                  TextField.rawValue = TextField.rawValue + " " + ListBox.getDisplayItem(i);
    ----------------- java script end ---------------------------------
    I have attached an sample PDF so that you can see how it works!!
    Kind Regards
    Søren Høy Nielsen Dafolo A/S

  • Populate Text Box with mulitple selctions from list box

    Hello,
    I am new to LiveCycle and searched the forums for an answer as to how to populate multiple selections from a list box to a text field.
    I added to the calculate field of the text field the following: TextField14.rawValue = ListBox1.rawValue
    Is there a way I can modify this so that the items from the listbox populate the text field so that the values show up side by side (i.e. California, Connecticut, New York) instead of top-down?
    Joe

    I would use the following JS code in the 'exit' event of the List box
    var
    ListValue = this.rawValue;ListValue
    = replaceAll(ListValue, "\n", " ,");TextField1.rawValue
    = ListValue; 
    function replaceAll(oldStr,findStr, repStr) { 
         var srchNdx = 0; // srchNdx will keep track of where in the whole line  
         // of oldStr are we searching.
         var newStr = ""; // newStr will hold the altered version of oldStr. 
         while (oldStr.indexOf(findStr,srchNdx) != -1)
              // As long as there are strings to replace, this loop 
              // will run.  
              newStr
    += oldStr.substring(srchNdx,oldStr.indexOf(findStr,srchNdx));
              // Put it all the unaltered text from one findStr to 
              // the next findStr into newStr. 
              newStr
    += repStr;
              // Instead of putting the old string, put in the 
              // new string instead.  
              srchNdx
    = (oldStr.indexOf(findStr,srchNdx) + findStr.length);
              // Now jump to the next chunk of text till the next findStr.  
         newStr
    += oldStr.substring(srchNdx,oldStr.length);
         // Put whatever's left into newStr.
         return newStr;
    Good Luck,

  • How do I populate a list box

    I am using the drag a drop to create a list box. I would like to put my values in the list box. All the tutorials I've seen seem not to address the issue of drag and drop listboxes (where the list box is initialized automatically). Drag and drop list boxes are already populated with default values. I want to place my values in the list box. The generated code is uneditable and this is contributing to my problems.
    Thanks

    SizzlinJones wrote:
    I have coded Swing several years back. I have migrated to other technologies since. I have assignment to create a Messaging application using Linda and eXist database. I really wanted to spend my time dealing with this distributed architecture rather than on GUI issues. I guess I'll just work on the GUI last if time permits.That's probably best. Get a prototype working, then interface it with a GUI at the end.

  • How do you add a multiple entries at once to a drop-down list box?

    I'm making a form for students to fill out and I want them to be able to pick from about 200 different courses. In the Field/List Items place, it would appear that you can only enter one item one at a time. I did this for 56 faculty,which took too much time, but for over 200 course titles, it would be much more convenient just to copy/paste them from an Excel spreadsheet, which is what I've tried doing. Any help or tips would be appreciated. I've attached a PDF of what I'm working on. The drop-down box is the one next to "Course." Thanks.

    Hi,
    The next version of LiveCycle Designer ES2 will allow user to copy and paste a long list of items into a dropdown or list box at design time. But until then your choices are limited.
    Paste them one at a time;
    You could set up a global variable in the (File/Form Properties) with the 200 items in the one variable. Then it would depend if your users have Acrobat/Reader v9 or earlier versions of Acrobat/Reader. John Brinkman has (several) blogs on this topic: http://blogs.adobe.com/formfeed/2009/01/populating_list_boxes.html
    If you are going with v9 then you can use the setItem script. However if you want your form to be compatible with earlier versions then you will need the addItem script.
    Also check out a sample by Steve Walker. http://forums.adobe.com/message/1939873#1939873 and  http://forums.adobe.com/message/2038932#2038932  The first one dealt with adding user entered data onto a dropdown, which is not exactly what you are after, but it will give you direction in populating a dropdown from an array.
    You would place the script in the docReady event of the dropdown, which would populate the dropdown every time the form is opened.
    Good luck,
    Niall

  • How to hold the value in List box.

    Hi All,
    On my screen painter Screen I am displaying the Sold to party and ship to party with thier address.
    I am also displaying the Shipping condition based on ship to party. To display the shipping condition i am using list box. Once the user enter the sold to party automatically all the field is going to populate in their respective fields. I am facing the problem that, The list box getting populated with shipping condition but once you choose the shipping condition and hit the enter the list box getting refreshed. I am using this code in PAI event. And I can Only use this in PAI.
    The Function i am using for list box is CALL FUNCTION 'VRM_SET_VALUES'.
    Pls suggest me how to hold the value in List box.
    Thanks,
    Rakesh

    Hi,
    Now i am using in PBO.
    the code below in in PBO.It is still not holding the value.
          if list[] is initial.
          perform SHP_COND.
          endif.
    form SHP_COND .
    *DATA: SHOP(80).
        clear : GT_VSBED, list.
        refresh : GT_VSBED, list.
         select vsbed
           from knvv AS K
           into table GT_VSBED
          where Kvkorg = vbak-vkorg  "Kkunnr = GV_STPH
          and K~vtweg = vbak-vtweg
          and K~spart = vbak-spart.
        select VSBED vtext
          from TVSBT
        into table list
        for all entries in GT_VSBED
        where spras = sy-langu
        and vsbed = GT_VSBED-VSBED.
    *break-point.
    NAME = 'SHP_CON'.
    CALL FUNCTION 'VRM_SET_VALUES'
      EXPORTING
        id                    = NAME
        values                = LIST[]
    EXCEPTIONS
       ID_ILLEGAL_NAME       = 1
       OTHERS                = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform.                    " SHP_COND
    Thanks,
    Rakesh

  • PopUp with selectMany List Box in JSF

    Hi,
    am a newbie to JSF....
    I have a page with a hyperlink which opens a popup that has two multi select list boxes (values need to be moved to and fro within select boxes). Then i have a select button in the popup which should send the selected value from popup to main page. Can anyone please send me a clear implementation for this I don't know how to implement this with JSF. I do want to know how should i have the in my main page to populate the selected values from popup. This will be of great help if u could provide me in detail for implementing the scenario.
    Note: My popUp page Implementation is like the one below and i don't have main page implementation other than the link calling javascript to open the popup....
    <body><table>< tr></tr><tr>< td>
    <h:selectManyListbox id="masterList" size="6">
    <f:selectItems id="master" value="#{populateList.masterList}" />
    </
    h:selectManyListbox></td>< td><table><tr>
    <
    h:commandButton id="MoveRight" value="MoveRight" ></h:commandButton >
    </
    tr><tr>
    <
    h:commandButton id="MoveLeft" value="MoveLeft" ></h:commandButton >
    </
    tr></table></ td><td>
    <
    h:selectManyListbox id="selectList" value="#{populateList.selectList}" size="6" > <f:selectItems id="select" />
    </
    h:selectManyListbox>
    </
    td></tr>< tr></tr><tr></ tr><tr>
    <h:commandButton id="selectButton" value="Select"></h:commandButton >
    </tr></table></body >

    any updates or help for this....
    i have a link in my main page that pops up a window with two select many list boxes where values can be moved to and fro. popup has a select button that has to send the list values in right hand side select many list box to the main page field....
    How should i achieve this in jsf....
    Any help with codelines will be greatful and guiding....
    Thanks
    Naadiya

Maybe you are looking for

  • Bank reconciliation incoming payment

    Hi All, I am in the blue print designing phase of one of my client. Below is the client requirement for incoming bank reconciliation. We have suggested them, the moment they received cheque of check from client, the entry should be posted in incoming

  • How to get pending TRs for production ordr ?

    Hi, Is there any way to get pending TRs w.r.t., production order. Im actually looking for a t code or tables that could link these twos. It could be possible via. material doc. or TOs but not sure how. Please let me know if any idea in this. Rgds sud

  • OCI8 to existing Apache and PHP install

    Hi Wonder if anyone can help. I have an Apache server already installed with PHP on my linux system (Ubuntu) and I'd like to add the OCI8 driver so I can hook up my PHP pages to speak with the Oracle database. I've managed to do my applicaiton with p

  • Best practices for cleaning up an old CSS?

    We have a legacy help system that we've put into RH 9.  Our CSS has a lot of old styles in it.  Is there a best practices document somewhere that we can use to learn how to clean up the CSS and remove old styles but still preserve the ones we want? t

  • How do I convert a hand drawn ink image to layers?

    I have an hand drawn image in jpg of black lines on white background (similar to line art) and I want to convert the black lines to a layer. How can I do this?