Assigning multiple values from a List of Values at detail (table) level

Hi,
I have a master detail entry screen. I want to assign multiple values when end user selects an item from the list. The field is at detail level (Table type). I can do it using the "Select one choice" type component (ADF Faces Core) but it doesnt retain the value when I go to the next record. This type of component works fine with the screen with only one record to show (form type). This component has binding with list type.
If I use simple list with Table binding, I can not assign values to multiple items. This type of list retains value when record is changed.
Can anyone help me resolving this issue?
Thanks,
CAH

Post on Jdev forum JDeveloper and OC4J 11g Technology Preview
--Shiv                                                                                                                                                                               

Similar Messages

  • How to populate form fields by choosing a parameter from a list of values?

    I have a unique field (say claim #)that is displayed at the top right of the page. Whenever I choose a value from the list of values and query the DB, all the subsequent forms(representation of one or more tables, linked by claim#) present below the search field should be populated with apt values.
    The issue here is, the forms displayed in the bottom of the page represent different master tables linked by the universal identifier(claim#) for my system.
    Please guide me if anyone knows a solution for this issue.
    Regards
    Arun

    You might want to look at the Acrobat Forms Data Format (FDF) Toolkit to create an FDF file that has the webbased PDF form refereced as the form source for the FDF data. You could also look at PDFTK and PDF Hacks.
    This is more of a developers issue than a simple Acrobat JavaScript issue.
    If may salary were to be doubled, I would still receive the same amount.
    If you do not like the responses ask for double your fee back.
    What do you expect for free?

  • How to get multiple values from the list

    I've a list of an item which I queried it from the database. I also created a button that will takes a selected items from the list when it was clicked. I used javabean to get the data from database.
    <%     // clicked on Select District Button
    Vector vselectedDistrict = new Vector();
    Vector vdistrictID = new Vector();
    String tmpSelectDistrict = "";
    tmpSelectDistrict = request.getParameter("bSelectDistrict");
    if(tmpSelectDistrict != null)
         // get multiple values from the list
         String[] selectedDistrict = request.getParameterValues("usrTDistrict");
         vselectedDistrict.clear();
         vdistrictID.clear();
         if((selectedDistrict != null) && (selectedDistrict.length != 0))
                             for(int i=0;i<selectedDistrict.length;i++)
                   vselectedDistrict.addElement(selectedDistrict);           
              vdistrictID = dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
              for(int i=0;i<vdistrictID.size();i++)
                   out.println("district = " + selectedDistrict[i]);                         out.println("district ID= " + vdistrictID.get(i).toString());
    %>
    // get vdistrict from the database here......
    <select name="usrTDistrict" size="5" multiple>
    <%     for(int i = 0; i< vdistrict.size(); i++)
    %>
         <option value="<%=vdistrict.get(i).toString()%>"><%=vdistrict.get(i).toString()%></option>
    <%
    %>          
    </select>
    <input type="submit" name="bSelectDistrict" value="Select District">
    Lets say the item that i selected from the list is 'Xplace' and I clicked on the Select District button,
    what I got is this error message:
    org.apache.jasper.JasperException: Unable to convert string 'Xplace' to class java.util.Vector for attribute usrTDistrict: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
    So where is going wrong and what the message means?. Any help very much appreciated. Thanks

    These are just guesses that might hopefully steer you in directions you haven't looked in yet.
    I presume you used triangle brackets (< >) to avoid having the Jive Forum think it was the "italics" tag?
    Are you certain this: dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
    expects a Vector as its second parameter? And returns a Vector?
    I don't believe you've shown how you use the javabean, or its code? Perhaps it should be rewritten to accept an array of strings instead of a Vector?

  • Getting multiple values from a list box

    Hi,
    I am not able to get multiple selected values from a list box using the getParameterValues(). I used the following code..
    String[] names=request.getParameterValues("lname");
    can anyone tell me what the error is or is there any other way i can get multiple selected values from a list box.
    Thanks
    Satish

    Fragment 1
    This is the JSP Code am using for testing
    <%
    String[] name =request.getParameterValues("D1");
    if(name.length==1)
    String value=name[0];
    Instead of name.lenght==1 try with name!=null
    Fragment 2
    out.println(value);
    replace the above fragment with
    %>
       <%-- print result -->
       <%=name[0]%>
    <%
    Fragment 3
    else
    %>
    The list box D1 is a multiple select list box.
    If it still doesn't work, check that the checkboxes have the same name as well as different values
    <input type="checkbox" name="D1" value="1">
    <input type="checkbox" name="D1" value="2">I hope this helps :-)
    Good luck
    touco
    ps: i want duke

  • How to get actual value from LOV list

    Like Subject says: How to get actual value from LOV list. Any help will be appreciated.
    Thanks.

    Thanks Shay, I did it with bind variable because I'm not using JSF. Is there any chance to post solution using standard JSTL or HTML expression. I have something like this: LOV displays some Companies names:
    <html:select property="UserJobCompanyId"
                             disabled="${!bindings[\'UserJobCompanyId\'].updateable}"
                             onchange="submitform();">
                  <html:optionsCollection label="prompt" value="index" property="UserJobCompanyId.displayData"/>                                                     
                </html:select>and I want to get CompanyID of selected Company.
    Thanks, again.

  • How to get the value from select list to text box

    Hi,
    I have a select list i want to retrieve the value from select list to text box.
    How can i do that???
    Regards,
    Sakthi.

    Hi Sakthi,
    Yo can use the Java script for that..
    Dynamically the value will come into text box.
    Use the below script.
    <script type="text/javascript">
    function disFormItems()
    var lReturn = $v(here your select list name)
    alert(lReturn);
    document.getElementById(here your text box name).value =lReturn; }
    </script>Cheers,
    Shan

  • How to update value stored in a table when we select a value from a list

    In my jsp page i have given
    <html:select property="function" >
         <html:option value="select">Select Actions</html:option>
    <html:option value="open">Marks as open</html:option>
    <html:option value="closed">Marks as closed</html:option>
    </html:select>
    I am using lookup dispatch action in action class
    public class LoginAction extends LookupDispatchAction{
    protected Map getKeyMethodMap() {
              Map map=new HashMap ();
              map.put("open","open");
              map.put("closed","closed");
              return map;
    public ActionForward open(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
              System.out.println("success");
              return mapping.findForward("success");
         public ActionForward closed(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
              System.out.println("success");
              return mapping.findForward("success");
    but when i select a value from the list,the corresponding action is not occuring.What should i put in my code??

    Put your code between the code tags, it makes it so much easier to read.
    To do that, just highlight your code and click on the "code" found between " and the circled ?.
    From what I can read of your code I don't even see a table or a list, so i have no idea what you are trying to do. You probably need to show more code.
    JSG

  • How to remove value from pop list in iProcurement Page

    I need to remove a value from POP list. How can I do this? Can I do this using Perosnalization?
    While creating requisition in the approvers page there are two buttons one is Approvers and another is Add_Attachments.
    When I click Add_Attachments button it will open another page there I need enter description and select category from the pop list and define attachment.
    In the category list I need to remove one value. How do i do this.Personalization links not available in this page.
    Please help guys...
    Thanks Advance
    Kumar

    Kumar,
    First you need to find out the data source for the category pop list. Based on that we can suggest how to achieve that requirement as there are many different ways of specifying the data source for a pop list.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Add a value from a list column on a page

    Hi, I am trying to create a help workflow for the users in my organization. My idea is that when a user clicks for help they will get a page describing different questions like below that will display their relevant data. There would be a master list behind
    this that would have all users with their specific information for each help area. 
    Payroll, W2, OT, ... issues contact your {their payroll specialist}                                                      
                                                    Facilities Maintenance contact {facilities person}            
                                          Your HR contact {HR person}
    I know I can filter a list to show only the specific user's data but I don't like the list format for this help page. Is there a way to insert a variable or a link to a specific column in a list and have it filtered for the current user? Or I've seen where
    I can use a workflow to populate variables from the list, can I insert or reference those variables at the correct points within a page?
    Thanks for any help or suggestions!
    Doug Summersett

    I'm not really looking for audience targeting in this case. I'm trying to find a different way to show a list. I want to have help areas on a page but have part of that page pull specific information based on the user logged in as to which row of the overall
    master table. Something like below is what we had imagined. 
    For Payroll issues with:
    Finding our W-2
    Incorrect paycheck
    OT question
    Contact: (Their specific payroll specialist would appear here)
    For Facilities issues with:
    Heat/AC not working
    Electrical wiring
    Contact: (Their specific facilities specialist would appear here)
    I guess I'm just looking for a different way to show a list instead of the default Sharepoint list view. I want to pull an item value from a list and insert it wherever I want on the page. 
    Doug Summersett

  • Invalid Table Name SQL ReporError From Unsubmitted List of Value Table Name

    I have an application in which a user selects a table name from a list of values and a SQL report shows data from the table selected. On entry into this page the "invalid table name" error shows until you select a table name.
    My list of values is a LOV with redirect.
    Is there any way to remove this error or not show the report?
    Any help is appreciated.
    Thanks,
    Kyle

    I resolved my issue by doing the following:
    Create a process
    Process Point - On Load - Before Header
    Run Process - Once Per Session or When Reset
    Process Source:
    (item in list of value set equal to return value in list of value)
    :P10_VERSION := 'ALLVERSIONS';

  • "An error occurred while attempting to retrieve the KPI value from the list"

    Hi all.
    when I used KPI, this error occured:
    An error occurred while attempting to retrieve the KPI value from the list
    what happened?
    any suggestion.
    thanks.

    Hello,
    Unfortunatly, I don't have the option to re-create my SP list.  I have created my KPI list in the same site as the targeted list.  I have made all items available in the list view, I've tried several different list views, I still get the
    An error occurred while attempting to retrieve the KPI value from the list.
    message. 
    I am at a loss here, I've search the internet high a low and haven't found any helpful info. 
    In MOSS 2007 I've created a list with about 24 columns.  I need a KPI based on one of the columns.  I've tried to creat a view with that one column, I've tried to creat a view with all columns
    and make it the defualt column...  I don't know what else to try here.
    Any help would be very appriciated!
    Cheers,
    ~Bryan

  • After selecting the value from the list box, want to disable checkbox

    hi guru,
    After selecting the value from the list box, want to disable checkbox and custom control textbox(container) in module pool.
    so please help me on this.
    thanx,
    man

    in PBO,
    loop at screen.
      if screen-name = your textbox's name.
        screen-input = 0.
        modify screen.
      endif.
    endloop.

  • How to find max value from a list of numbers stored in a varray?

    hi,
    Can any body help me to get the max value from a list of numbers stored in a varray?
    thanks in advance....
    regards
    LaxmiNarsimha

    Yes. Could you post what you have tried before we start helping you in this?

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • Problem in getting selected values from multiselect list

    Hi,
    I have two multiselect listboxes in my page. In List1 the data will be retrieved from DB and listed.I will have buttons to move the values from List1 to List2 and viceversa.
    After selecting the needed values,I can rearrange them in List2 using some buttons. I have coded this moving and reordering using javascript.
    What happens is while submitting the page I want the values from list2 which are rearranged. But im getting the order in which I moved from list1 to list2.
    I am using html:selectfor both lists
    List1
    <html:select name="CustForm" property="custName" multiple="true" size="10">
           <html optionsCollection property="CustomerNames" value="custName" label="id"/>
    </html:select>I am having a customer form which has a arraylist CustomerNames. This arraylist has customer bean which has proeprties custName and id. The custForm also has a String custName.
    List2
    <html:select name="CustForm" property="selectedCustName" multiple="true" size="10">
           <html  option value=""/>
    </html:select> The custForm also has a String[] selectedCustNames from where I get the selected values in list2
    Please let me know what am I doing wrong here.

    use a treeSelectionListener, that will give you all the selection changes you need.
    thomas

Maybe you are looking for

  • 508 compliance and rollovers

    The client wants full 508 compliance but also a couple of slides to have rollover interactions.  Most of the 508 compliance issues are easy to solve in 7.  However, I'm not finding a good solution for the issue of what to do about the rollovers, sinc

  • Skype number duplicated invoice

    Hi, I just placed an order 7 minutes a gofor a SKYPE number, I chose Paypal as a method for payment. Unfortuenatly the payement did not go through so, I attempted to try again twice using different methods but the problem now is I have 4 pending invo

  • Ayuda con fotos en Raw,  POR FAVOR!!!

    Tengo un problema para poder leer fotos sacadas hace tiempo (2 ó tres años) en formato Raw. Resulta que antes en un PC, ahora antiguo ya, las podía ver sin ningún problema. Pero hoy en día cuando intento volver a visualizarlas, ahora uso un iMac, no

  • Title on all my pages

    Hi, I want the same title for all my pages. Right now I go into each page and type in the following under html header and body attribute. Edu-Met Interactive Systems Is there anyway we can put this on Page 0 (if so how can it be done), so that I dont

  • Graphs in JSP/Servlets.

    Hi, i have to plot different kind of graphs/charts in my web application. can somebody suggest how best i can do this.