Databound Drop Down List combine two or more column with customize format

Hi all
I am writing a project have Databound Drop Down List like example in http://www.oracle.com/technology/products/jdev/tips/mills/databound_lists.html, but my Databound Drop Down List combine 2 column with format "Name | DepartName" or something like that. I mean how can I change format when I combine two or more column display value in drop down (default is space between columns, ex: "Name DepartName")

You could add a transient (calculated) attribute to your view object and use this one in your list binding.
hth, Markus

Similar Messages

  • How to add drop down list through personalization on seeded page with value

    Hi All
    I am trying add add drop down list through personalization on seeded page with value
    I have go through with anill passi's block
    still I am getting problem to create

    I have download that page from server via mds
    but when I open that page in Jdev it doesnt shows any options like
    status
    even I have open that page in xml also but still doesnt shows any options like status
    following is xml file
    <?xml version="1.0" encoding="UTF-8" ?>
    - <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile:~PROD:~PATH:~FILE &fullpath_~PROD_~PATH_~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath_~PROD_mds_directory
    -->
    - <page xmlns="http://xmlns.oracle.com/jrad" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:user="http://xmlns.oracle.com/jrad/user" file-version="$Header: VacSrchPG.xml 120.3 2006/04/27 09:08:34 gganesan noship $" version="9.0.3.8.7_942" xml:lang="en-US">
    - <content>
    - <oa:pageLayout helpTargetAppShortName="per" id="IRC_VAC_SEARCH_PAGE" akRegionCode="IRC_VAC_SEARCH_PAGE" regionName="Vacancy Search Page" shortDesc="Page to enable managers to search for vacancies" amDefName="oracle.apps.irc.vacancy.server.VacancySearchAM" controllerClass="oracle.apps.irc.vacancy.webui.IrcVacSearchCO" helpTarget="PER_vacancy_VacSrchPG" function="IRC_CM_VACANCY_SEARCH" windowTitle="Vacancies" title="Vacancies">
    - <ui:corporateBranding>
    <oa:image id="corporateBranding" source="/OA_MEDIA/FNDSSCORP.gif" />
    </ui:corporateBranding>
    - <ui:productBranding>
    <oa:image id="productBranding" source="/OA_MEDIA/IRCBRAND.gif" />
    </ui:productBranding>
    - <ui:contents>
    <oa:query mode="autoCustomizationCriteria" dispSimple="true" dispCustomized="true" prompt="Search" id="VacancySearchQuery" user:akAttributeCode="FND_NESTED_REGION1" user:akAttributeApplicationId="0" extends="/oracle/apps/irc/vacancy/webui/VacSrchQueryRN" />
    <oa:formParameter id="IrcAction" adminCustomizable="false" user:akAttributeCode="FND_ACTION_NAME" user:akAttributeApplicationId="0" />
    <oa:formParameter id="IrcActionValue" adminCustomizable="false" user:akAttributeCode="FND_PRIMARY_KEY_VALUE" user:akAttributeApplicationId="0" />
    <oa:formParameter id="IrcActionType" adminCustomizable="false" user:akAttributeCode="FND_ACTION_TYPE" user:akAttributeApplicationId="0" />
    <oa:formParameter id="IrcFunction" adminCustomizable="false" user:akAttributeCode="FND_FUNCTION_NAME" user:akAttributeApplicationId="0" />
    <oa:formValue prompt="IRC_VAC_SEARCH_FLEX_PAGE" id="VacancyIdFlexDrill" promptTranslationExpansion="100%" user:akAttributeCode="FND_LINK_1" user:akAttributeApplicationId="0" />
    <oa:formValue id="IRC_SEARCH_INSTR_TEXT" rendered="false" />
    </ui:contents>
    - <ui:copyright>
    <oa:messageStyledText id="ICX_COPYRIGHT" extends="/oracle/apps/irc/common/webui/StandardFooterRN.ICX_COPYRIGHT" />
    </ui:copyright>
    - <ui:privacy>
    <oa:link id="ICX_PRIVACY" extends="/oracle/apps/irc/common/webui/StandardFooterRN.ICX_PRIVACY" />
    </ui:privacy>
    </oa:pageLayout>
    </content>
    </page>

  • How come the apple I'd ask to key 3 letters but the drop down list only two letters..so it coz me unable purchase ..., How come the apple I'd ask to key 3 letters but the drop down list only two letters..so it coz me unable purchase ...

    My account edit billing address ask to key 3 letters for country but the drop down list only 2 letters and we unable to key only select.

    I think this is an excellent indicator that not only is Palm reviewing the feedback from the support forums here, but actively reviewing feedback/comments/wishes on other sites as well.
    As the original poster copied this (quite solid, IMO) wishlist from Pre Central, the palm support staff acknowledged first seeing it there.

  • How do I add a drop down list of options to a column in a Numbers spreadsheet?

    I need to be able to select from a drop down list in a column in a Numbers Spreadsheet . . ..  how do I create this?

    b,
    Pop-up menu, as it's called i Numbers is a Cell Format option.
    Select the cells that you want to format as Pop-up
    In the Cells Inspector, Choose "Pop-up menu"
    In the Cells Inspector, the default menu is 1, 2, 3 - Edit these entries to your liking. It will apply to all the selected cells.
    Regards,
    Jerry

  • A simple process I just don't know - how to make one drop down list dependent on another.

    Drop-Down List One has 17 office names. Drop-Down List Two has sub-office names associated with each of the 17 main offices.  If user selects Office 3 from Drop Down List One, only sub-offices associated with Office 3 should appear as choices in Drop-Down List Two.  How do I do that?

    You have asked your question in the Adobe Reader user forum.
    You cannot do what you want with Adobe Reader. Adobe Reader is a PDF viewer - no more, no less.
    You need Acrobat.
    The Acrobat user forums are at:
    https://forums.adobe.com/community/acrobat
    Be well...

  • Information field for a drop down list

    Hi,
    I have a drop down list that is a list of abbreviated codes.  I would like to have a "?" box beside them that when the user clicks on it, it pops up an information box that shows the Description for each abbreviated code.  Alternatively the drop down list could have the Abbreviated code with the description beside it, but when the user selects this I would need it to just show the abbreviated code in the finished product of the form.
    I am very new to LiveCycle so have not done any scripting, so would need a fairly comprehensive guide if thats what is involved.
    I have searched the internet for weeks and have not been able to find a solution. So truly appreciate any help.
    An example of my abbreviation codes are CC and CF
    An example of what I need in my information box is:      CC - Check duty in jump seat / simulator
                                                                                         CF - Check duty in operating seat

    Since it's early days....
    the simplist solution I put forward for you is:
    1)
    - make two combo-boxes
    - 1 with abbreviated codes
    - 1 with corresponding "un-"abbreviated values
    2)
    On the "un-"abbreviated codes combos 'ready:layout' event, but the following code:
    this.selectedIndex = dropDownAbbreviated.selectedIndex;
    3)
    Make the "un-"abbreviated combobox readyonly (it will look better)
    have fun

  • Create a drop down list that populates based on the selection form another drop down list.

    I need to set up a drop down list that is popualated (i.e. displays a certain list of selctions in the drop down list) based on the choise the form user selects in an adjacent List
    For example
    There are two drop down list field sitting side by side in the form
    1. Select State          2. Select Course
    What I want to do is have a list of states in the first drop down list (1.Select State) and depending on which state the form user selects , the second drop down list (2.Select Course) will populate with a selction of courses available in that selected state only (i.e. it will on;y show course available in QLD if QLD is selcted).
    Is this hard to do?

    Hi,
    I would recommend some posts from Stefan Cameron's blog:
    http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/
    http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/
    http://forms.stefcameron.com/2006/12/18/databases-inserting-updating-and-deleting-records/
    http://forms.stefcameron.com/2006/12/07/better-form-design-with-xfa-25/
    Hope that helps,
    Niall

  • ADF Databound Drop Down causes "invalid for working set view object"

    I've created a drop-down list per the instructions laid out in the "Creating a Databound Drop Down List in Oracle JDeveloper 10g" HowTo ( http://otn.oracle.com/products/jdev/tips/mills/databound_lists.html ). The list works fine when editing an existing row, but I get the following error when working with a newly created row:
    JBO-25048: Operation getAllRowsInRange is invalid for a working set view object.
    The drop-down list actually gets populated correctly despite the error. The error only occurs the first time I access the detail page that uses the list. I'm guessing that this may have something to do with the fact that the row value associated with with list is null.
    Any ideas on how to workaround this one? Thanks.

    Thanks Duncan.
    The ViewObject that is bound to the list is only used for the purposes of the list so there shouldn't be any problem with its state being altered elsewhere. Not sure if that's what you mean by collisions or not...
    I tried adding a "null/empty" value to the list but the results are the same.
    What is meant by "working set view object"? What other types of ViewObject are there? How are they different and how does someone know which operations are valid/invalid?

  • Filling drop down list

    hi,
    i have two questions:
    1. i have a drop down list as one of the columns in my table. i have context node having an attribute. how do i fill this drop down list.
    2. once this drop down list is filled, i want to pass the value to a method when i select a value from the drop down list.
    waiting for reply.
    Thanks & Regards,
    Ritwik.

    Hi Ritwik,
    Use method set_attribute_value_set of is used to set dropdown values to an attribute of a node.
    DATA: lx_current_controller TYPE REF TO if_wd_controller,
    lx_node_info TYPE REF TO if_wd_context_node_info,
    lx_element TYPE REF TO if_wd_context_element,
    ls_value TYPE wdy_key_value,
    lt_value_set TYPE wdy_key_value_table,
    lx_current_controller = wd_this->wd_get_api( ).
    Get the Values to that need to be set as dropdown,
    Build the values set internal table. by doing the below.
    CLEAR ls_value.
    ls_value-key = ls_t005t-ID.
    ls_value-value = ls_t005t-Airine.
    APPEND ls_value TO lt_value_set[].
    Set the dropdown.
    Get Context reference
    lx_node_info = wd_context->get_node_info( ).
    Get Node 'INPUT_NODE' Reference
    lx_node_info = lx_node_node->get_child_node( name = 'INPUT_NODE' ).
    Set the Drop down.
    lx_node_info->set_attribute_value_set( name = 'CARRID'  value_set = lt_value_set ).
    This would build the dropdown for the attribute.
    Bind this to the column that must be displayed as DD.
    Set the column type as 'Drop Down'
    Hope this helps.
    Regards,
    Sravan Varagani
    Edited by: Sravan Varagani on Mar 31, 2008 2:32 PM

  • Tables and Drop Down Lists

    This is my first time using LiveCycle Designer (8.2)
    I've tackled quite a few things thanks to the information I've found in these forums, but I have reached my complexity limit.
    I am trying to create a survey form that follows a process map with sub-process maps.
    Just to provide an idea of magnitude, one process map has eleven sub-process maps.
    I created a dynamic table with the ability to add and delete rows on a flowed page.
    The first row first column contains a drop down list.
    For each selection in the drop down list, the form requires eight inputs.
    Currently, I just copied the dynamic table for each subprocess.
    Each sub process map will have a running calculated total based on two inputs and a cost based on input.
    The overall process map will have the same.
    The entire section should seperatly show a sum total.
    I don't really know what would be best, but was thinking something along these lines:
    based on the selection in the drop-down-list, if someone selects one of the sub-process maps
    the row changes to allow the drop-down-list to be the one associated with that subprocess and
    the two running totals show up and remain at the bottom of the table.
    Only problem, is I have no idea how to do this.
    I have tried making the tables invisible, but they still show the input areas of the input boxes.
    Anyone feel like helping me figure this out?
    Also, isn't there a way I can populate a drop down list using EXCEL?  I don't want to manually input thousands of process titles.
    Oh, I don't have any XML capabilities, I am not connected to a server or any database, and everything runs at the client.

    Thanks for the input, I will watch the video.
    I was suprised that no one offered up any suggestions.
    I changed the design of the form.  I didn't want to, but I was able to get the product out on time.
    Just out of curiousity,
    Can I have a dynamic drop down list (A = {a1, a2, a3, a4}) that populates another drop down list (B = {b1, b2, b3, b4, b5} ) in table (Tb1) with one of the choices in the second drop down list (B = {b5}) is a dynamic choice that makes multiple expanding tables (Tc2, Te4, Tf5 out of a total of seven tables) appear each with their own (unique) drop down list?
    Or,
    Would it be easier to have the first choice (i'm probably using this word incorrectly) "index" the options for the other drop down lists, etc....

  • How do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?

    how do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?

    Where is this example spreadsheet? Without seeing it I can only guess at what you are asking.
    To make a drop-down list (a pop-up menu in Numbers-speak), format the cell as a pop-up then edit and add to the list of items.
    If the example spreadsheet is pulling in a dollar value based on what car you chose in the pop-up, it is probably using LOOKUP or one of the other lookup functions, getting the information from another table (a lookup table). If, instead, these dollar values are what you are choosing in the pop-up, then you need to create a pop-up with these values in it.
    The Help menu includes a link to a page where you can download the Numbers Users Manual. It also has a link to the Formulas and Functions guide. Both are useful to new users.

  • How to initialize a Prompt drop-down list using a Repository Variable.

    Hi,
    the aim is to fill a drop-down list of a Year prompt only with year values that can provide data.
    This Show list SQL statement works:
    SELECT Time."Year" FROM "AnalysisCatalog"
    WHERE Time."Year" <= 2007
    Using the maxYear Repository Variable does not work:
    SELECT Time."Year" FROM "AnalysisCatalog"
    WHERE Time."Year" <= @{biServer.variables[’maxYear’]}
    Error Codes: G689FFB3:SDKE4UTF
    Expression: biServer.variables[’maxYear’]
    How can I achive the result without hardcoding the Year 2007?
    Mny thx Thomas

    Hi,
    Actually this error does not cause any harm except a presentation inconvenience. In my multi-select prompt I am using variable expression with dynamic repository variable. Dashboard results are correct. Just variable's value does not appear on page (error Error Codes: G689FFB3:SDKE4UTF
    Expression: @{biServer.variables['CUR_CAL_PER_MONTH_NAME']}). Pushing "GO" button on the prompt fixing the error but it's actually second execution of the dashboard.
    Any ideas ??

  • Error while populating drop down list with values from a database

    Hi all,
    I have a JSP page with a drop down list that is to be populated with values from a database.
    This is the code in my JSP file:
         <!-- Form for picking the floor -->
             <!-- Get the available floors -->
             <% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers();
                Iterator<Integer> iterator = floornumbers.iterator(); %>
             <!-- Create the form for users to select the floor -->
             <form id="floorselectionform">
                  <input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
                  Select floor | <select name="floorselector" id="floorselector">
                       <% while (iterator.hasNext()) { %>
                       <option value="<%=iterator.next().intValue()%>"> <%=iterator.next().intValue()%> </option>
                       <% } %>
                  </select>
                  <input type="submit" value="Go!"/>
             </form>   The DataManager.java class simply forwards this to its respective Peer class, which has the code shown below:
          package seatplanner.model;
        import java.sql.Connection;
        import java.sql.ResultSet;
        import java.sql.SQLException;
        import java.sql.Statement;
        import java.util.ArrayList;
        /* This class handles all floor operations */
         public class FloorPeer
         /* This method returns all the floor numbers */
         public static ArrayList<Integer> getAllFloorNumbers(DataManager dataManager) {
            ArrayList<Integer> floornumbers = new ArrayList<Integer>();
            Connection connection = dataManager.getConnection();
            if (connection != null) {
              try {
                Statement s = connection.createStatement();
                String sql = "select ID from floor order by ID asc";
                try {
                  ResultSet rs = s.executeQuery(sql);
                  try {
                    while (rs.next()) {
                      floornumbers.add(rs.getInt(1));
                  finally { rs.close(); }
                finally {s.close(); }
              catch (SQLException e) {
                System.out.println("Could not get floor numbers: " + e.getMessage());
              finally {
                dataManager.putConnection(connection);
            return floornumbers;
         }  The classes compile properly, but when I load this page up in Tomcat it just freezes and does not load the form. I tested the DB connection and it works fine.
    What am I doing wrong in the JSP code?
    Thanks for the help in advance.
    UPDATE: I commented out the form, and added <%=floornumbers.size()%> right above the commented code to check if the ArrayList is indeed getting populated with the values from the database (the values are of type integer in the database). The page still freezes like before. I'm puzzled now :confused: .

    Wrong usage of Iterator.
    <!-- Form for picking the floor -->
             <!-- Get the available floors -->
             <% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers();
                Iterator<Integer> iterator = floornumbers.iterator(); %>
             <!-- Create the form for users to select the floor -->
             <form id="floorselectionform">
                  <input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
                  Select floor | <select name="floorselector" id="floorselector">
                       <% while (iterator.hasNext()) {
                                    Integer inte = iterator.next();
                            %>
                       <option value="<%=inte.intValue()%>"><%=inte.intValue()%></option>
                       <% } %>
                  </select>
                  <input type="submit" value="Go!"/>
             </form>or make use of enhanced loop as you are already using J2SE 5.0+ for avoiding confusions.
    <!-- Form for picking the floor -->
             <!-- Get the available floors -->
             <% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers(); %>
             <!-- Create the form for users to select the floor -->
             <form id="floorselectionform">
                  <input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
                  Select floor | <select name="floorselector" id="floorselector">
                       <% for(Integer inte:floornumbers) {%>
                       <option value="<%=inte.intValue()%>"><%=inte.intValue()%></option>
                       <%}%>
                  </select>
                  <input type="submit" value="Go!"/>
             </form>and a lot better thing would be making usage of basic Taglib provided with JSTL spec or struts spec which make life easier and simple.
    something like usage of <c:forEach/> or <logic:iterate/> would be lot better without writing a single scriptlet code.
    Hope that might help :)
    REGARDS,
    RaHuL

  • UI - How to make Columns in a Drop Down List Selection?

    I am altering a code from Peter Kahrel "Beginning Script UI". I am trying to make a searchable drop down list that will have 4 columns. So far, the search works and I have headings in the search, but I cannot seem to make the columns for the actual data. I believe I need to change the type_ahead since the array is looking at this data. I'm stuck in the water. Can someone tell me what I need to do to get the list to show up as columns? How do I turn the picked = type_ahead data into four columns? Code and Screenshot below:
    picked = type_ahead (["bat", "bear", "beaver", "bee", "cat", "cats_and_dogs",
    "dog", "maggot", "moose", "moth", "mouse"]);
    function type_ahead (array)
    var w = new Window ("dialog", "Quick select");
    var entry = w.add ("edittext", [0, 0, 800, 22]);
    entry.active = true;
    var list = w.add ("listbox",  [0, 0,800, 500], "",
    {numberOfColumns: 4, showHeaders: true,
    columnTitles: ["Non-Approved Word", "Approved Alternative", "Approved Use", "Non-Approved Use"], columnWidths: [200,200,200,200]});
    list.selection = 0;
    entry.onChanging = function ()
    var temp = this.text;
    list.removeAll ();
    for (var i = 0; i < array.length; i++)
    if (array[i].toLowerCase().indexOf (temp) == 0)
    list.add ("item", array[i]);
    if (list.items.length > 0)
    list.selection = 0;
    entry.onChange = function () {w.close (1)}
    if (w.show () != 2)
    return list.selection.text;
    else
    w.close ();

    Hi Peter,
    This is one of those developments that push the limits of my knowledge-base and when things do that, I lose sleep until I figure it out. With that said :-) here is where I have ended up.
    Basically I made a new array for the table data.  I then use an array lookup to sort the array in the listbox based on the 0 array item. See the code below. Once it is loaded type in "b" and the list will start to sort.
    I need to try to get this to work as a pallete instead of a dialog box. Do palletes support this type of functionality?
    var newarray = new Array(
    new Array('Butterfly ','has wings','can fly'),
    new Array('bohemith moth','has wings','cannot fly very good'),
    new Array('word 3','replacement word','use case'));
    picked = type_ahead (newarray);
    function type_ahead (array)
    var w = new Window ("dialog", "STE Checker");
    var entry = w.add ("edittext", [0, 0, 800, 22]);
    entry.active = true;
    var list = w.add ("listbox",  [0, 0,800, 500], "",
    {numberOfColumns: 3, showHeaders: true,
    columnTitles: ["Column 1",  "Column 2", "Column 3" ], columnWidths: [200,200,400]});
    list.selection = 0;
    entry.onChanging = function ()
    var temp = this.text;
    list.removeAll ();
    for (var i = 0; i < array.length; i++)
    if (array[i][0].toLowerCase().indexOf (temp) == 0)
    with (list.add ("item", array[i][0]))
    subItems[0].text = array[i][1];
    subItems[1].text = array[i][2];
    if (list.items.length > 0)
    list.selection = 0;
    entry.onChange = function () {}
    if (w.show () != 2)
    return list.selection.text;
    else
    w.close ();

  • Adobe LiveCycle Designer working with 2 drop down list, one response triggers the other

    I am fairly new to Adobe LiveCycle Designer ES 8.2, but I would like to have a drop down list of managers and another drop down list of employees.
    I would like this set up in such a way where the manager can click on their own name in the manager list and have a drop down list appear which is only populated with their directly reporting employees.  They can then click on the individual employee they are going to report on.
    Then there will be several questions pertaining to the individual direct report, etc. (This part I can do)
    Is this possible?
    If so, please provide detailed instructions for me to try.
    Thank you in advance.

    Put this in the change event of your Manager drop down:
    var myObj={"Manager 1":"Employee A,Employee B,Employee C",
                        "Manager 2":"Employee D,Employee E",
                        "Manager 3":"Employee F,Employee G, Employee H"};
    DropDownList2.setItems(myObj[this.boundItem(xfa.event.newText)]);
    This is assuming the list of items in that dropdown is "Manager 1", "Manager 2", "Manager 3".
    And DropDownList2 is the name of your Employee drop down.
    Kyle

Maybe you are looking for

  • BPM - Create process error - red flag in monitor

    Hi. I have a question about generating errors in a BPM. The scenario is like this: After some process I have a switch. In case of an error, the switch branch to a control step that throws an exception. A control step afterwards cancels the process. E

  • Aperture to Capture One Pro via Catpult -  working

    FYI  I figured out how to make the Aperture to Capture One Pro connection work with the Catapult plugin in both directions, preserving repeated image edits in Capture One Pro. We can now use Capture One Pro as a (slightly awkward) plugin for Aperture

  • .flv not playing in browser

    Hi Everyone- I'm facing an enormous conundrum and I was hoping somebody here may be able to shed some light on it. I have a flash presentation that presents .flv files to the user. I have the main menu in a .swf file, and when the user selects one of

  • Why won't my Ipod connect to my PC?

    Hi First time post, I've had alot of trouble and came here to find help and most of the time it has worked except I can't search for this answer. I was using my ipod (Fifth Gen/Video 30GB) different than usual today, trying to drown out my stress I h

  • Problem installing Photoshop update 13.0.1.3

    I tried to install the update with Adobe Updater and it failed with error code U44M1P7. I then downloaded the update patcht directly from the site and tried to install. Again error code this time U44M2P7. First time ever I experience problem with upd