Display Attribute for Combo Box List of Value

Hi all,
I am wondering that if even for JDeveloper 12c we need to keep doing this work around https://blogs.oracle.com/adf/entry/combo_lov_how_to_display in order to display a meaningful attribute?
Regards

You could, for example. store both of them (old value, along with new one) in the pageFlowScope. You can do that in the valueChangeListener (before calling popup), and use them in the dialog listener...

Similar Messages

  • Regarding  input combo box list of values

    Hi,
    I am using JDev 11.1.1.5.0
    I used the input combo box list of values in adf application based on VO.When I type a value in the input combo box and press TAB key,it gives first item of that list rather than that entered value and when I open the list, it shows the repeating values of the first item.
    Please suggest me some solutions.

    Hi,
    hard to say based on your description. Try with 11.1.1.6 or 11.1.17 and if it reproduces, provide a test case based on the HR schema. Is that an option ? Then send it my way in a zip file renamed to "unzip". My mail address is in my OTN profile, just follow the named link left to this reply
    Frank

  • Setting value in input combo box list of values programmatically.

    Hi,
    I have the following requirement.
    I have a combo box LOV defined in the column of application table. Whenever the user is trying to change this value, I need to check for a condition and invoke a warning popup with yes/no button and allow the user to change if dialog outcome is 'yes'. If the outcome is 'No', then i need to reset the combo box to its original value. To do this, in the valuechangelistener of LOV, I am invoking the warning popup and control will coming out of the valuechangelistener and dialog listener will be called.
    How do i set the combo box value in dialog listener ? and How do I retain the existing value of the LOV if user clicks on 'No' button.
    Jdev Version : Build JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493
    Thanks in advance.
    Harish

    You could, for example. store both of them (old value, along with new one) in the pageFlowScope. You can do that in the valueChangeListener (before calling popup), and use them in the dialog listener...

  • Entity Descriptions are not displayed correctly in Combo box dropdown list

    In Web Analysis, Entity Descriptions are not displayed correctly in Combo box dropdown list when entity descriptions from HFM contains a dot(.)
    Example:
    'Entity A. LTD' becomes 'LTD'
    'Entity B Inc.' becomes blank
    It seems that everything before the dot is not displayed when opening the combobox.
    It looks like it is acting like the option to show short description for entities in HR where the parent-child relation is not shown. This behaviour I don't expect for descriptions. And in my opinion is not an option in Web Analysis.
    Does anybody knows the sollution or have seen this issue before?

    Hi,
    This is a known issue with combo box list of values.
    Please follow this workaround:
    - Remove ComboboxLOV on Deptno
    - Create an updateable transient attribute(Say Dname) of type String
    - Define combobox lov with following values:
    List Data Source: DeptView1
    List Attribute: Dname
    List Return Values:
    Dname - Dname
    Deptno - Deptno
    UI Hints: Display Attribute - Dname
    - Edit Dname(transient attribute) and provide following groovy expression
    oracle.jbo.Key key = new oracle.jbo.Key(Deptno);
    return DeptView1.findByKey(key, 1)[0].getAttribute("Dname");- Now, you are done and observe that Dname combo box lov shows Description even on selection and change in this combo box sets the Deptno value
    Sireesha

  • Populating Combo Box list value In Multiple Row

    Hi,
    i to have the same problem .
    I have used add_list_element to populate the list value of the combo box in multiple row.
    I am selecting the list value from the database where the combo box value will be different for each row. However, when i do this.
    All the previous row combo box list value will follow the combo box value in the last row. How can i resolve this?
    i tried with lov but hasnt had any sucesss.in case of LOV can we make the list to appear automatuically and select a value????i havent had much sucesss over it??
    is thr any work around for this apart from lov?

    Hi,
    which product or technology are you talking about ?
    Frank

  • Enumeration binding for combo box - missing feature

    Hi,
    In our application, combo boxes are usually employed for similar purpose as radio button groups: provide the end-user with an exclusive, static list of choices.
    Unfortunately, JUComboBoxBinding.createEnumerationBinding method does not seem to follow the same paradigm as JUButtonGroupBinding.createEnumerationBinding.
    In fact, for JUButtonGroupBinding, one parameter is "AbstractButton[] buttons", which is used for display purposes (end-user descriptions of the choices), and another is "Object[] valueList", which is the list of values for the corresponding attribute (usually, the valid values in the database for the column).
    Meanwhile, JUComboBoxBinding is only receiving one array parameter, "Object[] values", which is used both for display purposes and for database values... This approach is very restrictive, as long as we expect to display in the combo box a descriptive text for the coded value in the database (and localizable, as well!).
    Is this a known bug, or am I the first one to have noticed it? Is there any schedule for making this feature available?
    Thanks,
    Adrian

    I'm not sure where my last reply went, so another try.
    Unfortunately, I have the same feeling as usual, that my posted messages are not carefully read...
    The main issue was the comparison between JUComboBoxBinding and JUButtonGroupBinding, and my question was about the possible future availability of a feature. Nothing about this in the answer...
    Could I have an aswer to my original message, please?JUButtonGroupBinding is a custom control provided by JClient and has an api to let a user 'provide' custom Button objects instead of the default 'RadioButton's that would get created if none is passed in. The fact that you could use that to perform LOV kind of indirection of displaying a value other than what's set is 'a side-effect' of the original intention.
    FYI, we already implemented an extension to JUComboBoxBinding which is just doing what I was asking for. It is not complex at all:( I was only thinking that it might be useful also in standard...The 'standard' way of getting this behavior you're asking for is to create a programmatic VO as suggested above, with both display/update attribute values and bind it to the ComboBox as an LOV Binding. And yes you can certainly create custom controls extending Swing and use the existing bindings or 'extend' them as per an application need.
    Regards,
    Adrian

  • How to display data in combo box from xml file.

    Hi All,
            I have the data in xml file.
      <jukebox>
        <song>
            <title>When the Levee Breaks</title>
            <artist>Kansas Joe and Memphis Minnie</artist>
            <url>delhi601(www.songs.pk).mp3</url>
        </song>
        <song>
            <title>Better Leave that Stuff Alone</title>
            <artist>Will Shade</artist>
            <url>delhi601(www.songs.pk).mp3</url>
        </song>
        <song>
            <title>Walk Right In</title>
            <artist>Cannon's Jug Stompers</artist>
            <url>delhi601(www.songs.pk).mp3</url>
        </song>
    </jukebox>
    and i want to display the only url in combo box list. for that how can load this xml file and how can i show.
    Can any one help me.
    thanks
    Raghu.

    Raghuvasa,
    Get the XML file data into an XML variable in your code, say var jukebox: xml. Then do
    combo.dataProvider = jukebox.song.url
    or as a shortcut
    combo.dataProvider = jukebox.descendants("url")
    The latter will pull out elements with tag name url at any depth in the xml structure, so sometimes you have to be careful, but in your case there should be no problem.
    Richard

  • Combo box list update or insert restriction

    Dear all,
    I have a list item which type is combo box.
    it shows the Departments list from the department table at run time.
    i populate at through a procedure at runtime.
    problem
    the user could update the list by writing something into it.
    i want to force the user to just select a value from the list, not update or insert.
    i change the properties of the list item which prevent insertion or updation,
    but it disable the selection from the list as well.
    how to prevent the user to write something in the combo box list while giving him the
    selection authority using the combo box list item?
    Thanks and Regards

    thank you dear,
    but i want to use the combo box instead.
    for popup list there is a problem of the null value,
    you must assign a value to the popup list and set its required property to true for doing so.
    and the combo box do not need this. and my desired functionality require it.
    Edited by: Muhammad on Feb 28, 2010 3:10 AM
    Edited by: Muhammad on Feb 28, 2010 3:21 AM

  • Customize display attributes for LOV

    Hi all,
    In normally, when create List of values for attributes :
    After we selected List Attribute, next UI hints tab we select Available display attribute, for example: I select two attributes : CountryID and ProvinceName --> that's means multiple values are separated by white space like this: 1 England....The question is how can customize to: 1.England
    i want replace "." instance of "space". Thanks

    The trick is that you add a calculated attribute to the sql like
    select country_id, country_name, country_id || ' ' || country_name as LOV from countries
    COUNTRY_ID COUNTRY_NAME                             LOV                                      
    AR         Argentina                                AR Argentina                               
    AU         Australia                                AU Australia                               
    BE         Belgium                                  BE Belgium                                 
    BR         Brazil                                   BR Brazil      
    then in you use the country_id to store the selected value and hte LOV column to display the options on the ui.
    Timo

  • Programmatically Change Combo Box List

    Hello,
    I searched heavily on these forums and found answers that were close, but I cannot quite figure out the following:
    I have a large number of individual RF assemblies, most having the same test requirements.  My plan is to create a combo box (or similiar) from which the assembly number can be selected.  This box will then provide a numeric value to a case structure, which will then provide the need test parameters and what not.
    I know the combo box list can be populated with a property node and the property node fed by an array.  It is my hope to be able to put this info in a spreadsheet file that can be updated as necessary and then imported into the VI at run time.  Therein lies my problem.
    Using the strings and value[ ] property, I can make the combo box work correctly, but I cannot figure out how to import the spreadsheet into the proper format to feed the property node.  I've tried various spreadsheet import schemes offered on these forums, but none quite hit it.  I've tried to figure it out on my own, but I'm just spinning my wheels.
    Any help would be appreciated.
    Thanks.
    Attachments:
    PullDown_Module.vi ‏30 KB

    Hello,
    I've attached a VI that I think will help you.  I actually used the Index & Bundle Cluster Array function, which I don't think I've ever used before.    Anyway, this function gets the two arrays of strings from my tab-delimited text file and manipulates them into an array of clusters containing two strings each, which is the data type required by the StringsAndValues[] property of the Combo Box:
    I hope this gets you started in the right direction.  Good luck!
    -D
    Message Edited by Darren on 03-17-200602:18 PM
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman
    Attachments:
    Combo_Box_Screenshot.jpg ‏100 KB
    Combo_Box.vi ‏27 KB
    data.txt ‏1 KB

  • Add items to a combo box list if not in existing list

    I'm trying to set up a combo box for an expense report form.  I want users to be able to select an account from an existing combo box list or to add an account to the list if it doesn't exist already.
    Ideal situation:
    For example, the user has "Office Supplies" and "Meals - Business Related" as existing options in the combo box.  They need to enter a parking expense, which doesn't exist on the list, so they type in "Parking" in the combo box. They attempt to advance to the next field.  A message box pops up and says, "Do you want to add "Parking" to your list of expense options?  They click "Yes" and the combo box will now include Parking in the future.
    Any assistance would be greatly appreciated!

    George,
    Do you know of a way to save the list addition to the original file without saving any new form data with it? In other words, I would like the item to be on the list when the document is opened in the future, but if they just save it, it will save with the form data they've just entered.
    Thanks!

  • How to display attributes for a CHAR in the Excel file (BEx)?

    Hi all,
    I knew that I can display attributes for a CHAR (ex: attributes - address, phone#, zip code for CHAR-Customer) when I run Web- based report. But I cannot find this function after I export the file to Excel. In the context menu for excel file, I only see 'select filter'(but no display attribute values), drilldown, properties (for query). Is it something that I cannot have in the excel file for the BEx report?
    Thanks
    J.

    Hi Bhanu,
    In fact, I found that I can move IOs in the 'rows', 'column', and 'free CHARs' and so do end user by using 'local view'. That means every one can change the query definition, right?
    For your last question, that was what I want to know. How can I prevent 'end users' change those query definitions? Is it about 'role' setting, right? But I am not the one to do 'role' setting.
    Thanks for help. (I will asign points when the SDN system works)
    J.

  • Action event automatically triggered for combo box

    Hi all,
    I am facing a typical event handling problem for combo box in Swing(Using Net Beans 5.0, jdk 1.4.2)
    While adding items to combo box it is firing action event twice instead of once irrespective of no. of items added to it.
    For eg if there are 1 or more than 1 item added to combo box it is triggerring action event twice(one just after when first item is added and one again when rest all items are added)
    and if there is no item then also it is triggering once.
    Can you please help me out.
    Thanks

    post the SSCCE code, then only it is easy to find the problem

  • Validation error message is not displayed for an attribute as an Input List Of Value

    Hi everyone,
    I use jdev 11.1.1.7.0
    In my application I've created an Entity Obj and a View Obj base Employees table.
    for the JobId attribute I've taken actions as listed below:
    1. in Employees EO I've created a validation for this attribute and in some cases an error message returns (the error message is "the salary is not high"):
         * Validation method for JobId.
        public boolean validateJobId(String jobid) {
            if (...) {
                return false;
            if (...) {
                return false;
            if (...) {
                return false;
            return true;
    2. in Employees VO  I've created a LOV for this attribute (the view accessor is JobsViewObj ) and I display the attribute as an Input Text with List Of Values.
    in jspx page I drag& drop this attribute as below:
              <af:inputListOfValues id="jobIdId"
                                    popupTitle="Search and Select: #{bindings.JobId.hints.label}"
                                    value="#{bindings.JobId.inputValue}"
                                    label="#{bindings.JobId.hints.label}"
                                    model="#{bindings.JobId.listOfValuesModel}"
                                    required="#{bindings.JobId.hints.mandatory}"
                                    columns="#{bindings.JobId.hints.displayWidth}"
                                    shortDesc="#{bindings.JobId.hints.tooltip}"
                                    autoSubmit="true">
                <f:validator binding="#{bindings.JobId.validator}"/>
              </af:inputListOfValues>
    I open the Popup and I select a row from the Popup list and then I click Ok. After that if the validation method(validateJobId) returns false, the error message("the salary is not high") must be show to the user. but the error message doesn't display. I don't understand why this happens.
    Can anybody guide me about this problem?
    Regards
    Habib

    yes, you're right, I've tested it in 12.1.3 and error message was displayed.
    it seems it's a bug(bad bug ) in both 11.1.1.7 and 12.1.2. and now what can I do? is there any way to display the the error message?
    Regards
    Habib

  • Combo Box - List Value Property

    I have a combo box in a form (Forms 10G) which is populated at runtime using values from a parameter table.But when I generate the form it gives a warning message that the list item property has to be filled .
    The combo box should display only the values from the database but it should not have any default values.
    How can I supress the warning message and avoid entering the list values proeprty at design time.
    Thanks in Advance.

    The warning is part of forms functionality, but is just that, a Warning, and the form should compile if not an error exists. Not sure if there's a way to suppress it, and You can simply leave the list with no values in Your design, as You will provide them at runtime. If coding is ok Your list should display the values You extract from the DB

Maybe you are looking for

  • IPhone not recognized by iTunes after update

    I recently downloaded & installed the latest update for iTunes and it actually removed iTunes and put and extra (& useless) shortcut for quicktime in my desktop. I uninstalled everything and reinstalled iTunes and quicktime with nor problem. I hooked

  • PDF's From Captivate 5.5 Not Playing . . .

    Hello, In the past couple of years I've developed about 15 presentations for our customers using Captivate.  They've all worked great until recently.  Today I dug in to see if I could figure out what the scoop is.  It looks like it all boils down to

  • Converting audio to xml form

    hi i need to know how to convert audio to xml form.. can any one help me on this...

  • Editing a photo to include a sense of scale

    Hi all, was just wandering if anyone knows of a way of drawing a line on a photo to represent scale or including a scale bar? Just that I'm cropping some photos of experiments carried out in a lab though have to remove the scale ruler though still ne

  • Proxy authenication problems from Macs.... argh

    I am seeing this regularly in mixed Windows/Macs environments where all machines proxy over 8080 to the TMG box (integrated authentication). I can have a firewall rule that allows traffic from Internal to External over HTTP/HTTPS for Domain Users and