InputComboboxListOfValues : How to display a label instead of the value ?

Hi,
I have a page containing a inputComboboxListOfValues component. This works fine but when I select a value, the field then takes the item code (not displayed in the combo bos LOV model) instead of the label.
How can I do the same as http://myadfnotebook.blogspot.com/2010/09/getting-string-value-or-item-code-of.html but with inputComboboxListOfValues since the list may be very long ?

Hi,
Create a view object that is based on two entities (e.g. EmployeeVO based on Employees entity and Departments entity). Then choose the descriptive attribute (e.g. Department name from Departments entity) to be included in the query. Build the table dragging the EmployeeVO and then deselect e.g. departmentId so that department name remains
Frank

Similar Messages

  • Looking for some help on emailing results using the drop down Label instead of the value

    DWMX / SQL / ASP
    I have a very simple form... 4 fields
    1 - Textbox to enter name
    2 - Drop downs to select location and type of issue
    1 - Comment box to describe in more detail the issue....
    I have notification setup to email the results to the
    appropriate person
    upon submission.. the issue im having is the following.. the
    email will go
    to the department that needs to get it based on the Issue
    drop down... the
    drop down is populate from a table containing 2 fields (
    Issue Name and
    Email )
    My question is how can i capture the label name instead of
    the value which
    in this case is the email address?
    I want the email to be sent to the email address, but i want
    the email to
    display the label name....

    Try this,
    <%=(rsCombo.Fields.Item("issue").Value)%>
    <%
    if recordset("fieldname") then
    response.write "Your Lable Name"
    end if
    %>
    Dave
    "Daniel" <[email protected]> wrote in message
    news:elporq$pd1$[email protected]..
    > forgot to add this bit
    >
    > this is what im using to get the data for that
    > <%=(rsCombo.Fields.Item("issue").Value)%>
    >
    >
    >
    > "Daniel" <[email protected]> wrote in message
    > news:elpns1$o80$[email protected]..
    > > DWMX / SQL / ASP
    > >
    > > I have a very simple form... 4 fields
    > > 1 - Textbox to enter name
    > > 2 - Drop downs to select location and type of issue
    > > 1 - Comment box to describe in more detail the
    issue....
    > >
    > > I have notification setup to email the results to
    the appropriate person
    > > upon submission.. the issue im having is the
    following.. the email will
    go
    > > to the department that needs to get it based on the
    Issue drop down...
    the
    > > drop down is populate from a table containing 2
    fields ( Issue Name and
    > > Email )
    > >
    > > My question is how can i capture the label name
    instead of the value
    which
    > > in this case is the email address?
    > >
    > > I want the email to be sent to the email address,
    but i want the email
    to
    > > display the label name....
    > >
    >
    >

  • Text Box issue - displays XML tag instead of the value in EBS

    I need to use a textbox (or a autoshape with text) to place a data element in a specific position on the page in an RTF template. I tried using tables and it didn't help. This layout needs some elements to be placed at specific location and using an autoshape or a text box is easy. When I preview the pdf output on my desktop, it works fine. Once I upload the template into EBS XML Publisher, the value in the text box shows up as an XML Tag instead of the value in that tag. The same XML data when loaded and previewed locally shows the data instead of the tag.
    Any thoughts on this? Is there a patch or something we might need for this in EBS?
    Thanks,
    Vinay

    Thanks Tim for the quick response.
    Yes - the versions are same. Also, I tried giving the complete path. The issue is that it is not even reading the text in the text box as an XML tag. It seems to think the whole text box is an object and hence just display that text as is. If it was reading and not able to resolve it, I guess it would have displayed blank (and not the tag as is). Again as I mentioned it works fine in local preview on my machine.

  • How to display as blank instead of zero (0) if result is zero

    Hello :
    How to display as blank instead of zero (0) if result is zero.*
    *any properties can do this. BI 7.0.
    Regards,
    Manthana

    Hi,
    If you are using BI 7.0 ,goto Query designer and click the properties under the 'Query'. Then select 'Value Display' from the properties and there is a drop-down  'Display Zeroes' . You can choose 'Zero as Space' from that drop-down for the query.
    Hope it will solve your issue.
    Thanks.

  • Displaying the current users information instead of the value of the person who completed the form in the first place.

    I found this fantatic post regarding querying the user profile service 
    http://blogs.technet.com/b/anneste/archive/2011/11/02/how-to-create-an-infopath-form-to-auto-populate-data-in-sharepoint-2010.aspx?pi47623=2#comments 
    However i have an issue whenever the form is opened again either to view or edit, it displays the current users information
    instead of the value of the person who completed the form in the first place.
    Please help me, I'm turning more grey each minute

    I think it is how the current user information is stored based on your logic.
    You might be quering current value again when loading the form (Form load Rule).
    you have to tweak your logic, after the user submits the form you can set the username to the one who saved it.
    or in form load, write a logic to see if the form was not saved before and then query the username( by using internal field like "formstatue")
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • How to display properties of dimension on the input form and report in bpc

    Dear Expert,
    Please tell me how to display properties of dimension on the input form and report in bpc. I can only display dimension number.
    thanks so much
    hungth

    Hi Hungh,
    If your are using BPC 10 with EPM add in client, you can use the function:
    EPMDimensionProperty ()
    This function retrieves the properties of a specified dimension in a specified cell range.
    Thanks, Safa

  • How to display multi-channel image in the 'proxy'?

    There're many examples to show how to display composite channels in the 'proxy'. But I don't find any example to show how to display multi-channel image in the 'proxy'. I found that I can use PSPixelOverlay to display alpha channel data like this:
    int nSpotChannel = gChannelCount - 4;
    PSPixelOverlay* overlay = new PSPixelOverlay[nSpotChannel];
    for(int i = 0; i < nSpotChannel; i++){
           if( i != (nSpotChannel - 1) )
                 overlay[i].next = overlay + i + 1;
           else
           overlay[i].next = NULL;
           overlay[i].data = gChannelData + (4 + i) * nPlaneBytes;
           overlay[i].rowBytes = gProxyRect.Width() * gDocDesc->depth / 8;
           overlay[i].colBytes = 1;
           overlay[i].r  = 230;
           overlay[i].g = 161;
           overlay[i].b = 174;
           overlay[i].opacity = 255;
           overlay[i].overlayAlgorithm = kStandardAlphaOverlay;
    pixels.pixelOverlays = overlay;
    Then, Seeing red part, it will trigger a new problem, that is how to get the color value of the alpha channel by plung-in itself? It seems that no channel color value info is in FilterRecord.
    If you have other solution, please tell me. Many thanks!

    This is what I've been doing - was just curious if there was a way to see a more cohesive image.
    If the individual EQ plugins are in fact the answer, is there any way to smooth how the Analyzer displays? The image I posted above, all of the tonal curves are very smooth. The analyzer tool shows a lot of peaks and valleys within the overall curve and it's hard to pinpoint each instrument's "sweet spot." Vocals for example are very hard to spot.
    - Morgan

  • How to display language key (0LANGU) in the query for BW report

    Hi,
    Can someone tell me how to display language key (0LANGU) in the query? I want to display which language (English or French) is used for material description in BW report. Thx.

    hi,
    check if the infoobject is kept as lang dependent or not  for material text, else you need to create a masterdata attribute with text and lang keys and do corresponding mapping, so then it can be displayed in your report
    regards
    laksh

  • How to display my country flag on the task bar in osx mavericks?

    How to display my country flag on the task bar in osx mavericks?

    System Preferences > Keyboard > Input Sources
    Checkmark the box beside "Show Input menu in menu bar".

  • I need my label to remember the value of the previous number in item renderer

    I have a label used as an item renderer and the dataprovider frequently changes. I need my label to remember the value of the previous number it was assigned to   {data.ask} but am having trouble doing this.
    Any ideas how to do this?

    You could override the data setter on the item renderer or listen for dataChange and store the value somewhere at that time.  This post demonstrates how to override the data setter or listen for dataChange:
    http://flexponential.com/2009/11/11/binding-warnings-when-using-object-in-a-list-dataprovi der/

  • IWDDropDownByKey - Key is shown instead of the value in View

    Hi,
    we found some strange behaviour when we dynamically generate some IWDDropDownByKey UI-Elements in an IWDTransparentContainer. In IExplorer and Firefox all data looks well. The values in the IWDDropDownByKey-Elements are shown as expected.
    In one case with Internet Explorer 7 (and only on one Client-PC) we have an issue, that instead of the value (normal text) the key is shown in the dropdown-field in the view!
    Do you know about some bugs regarding to the IWDDropDownByKey-Element with IExplorer 7?
    Thanks in advance for your help!

    Hi Danwesel
    Please check the browser compatibility with portal :
    /community [original link is broken];jsessionid=(J2EE5212300)ID1732745050DB01763421920660234924End;saplb_*=(J2EE5212300)5212350?messageID=7607207
    /message/8840993#8840993 [original link is broken]
    Hope it helps'
    Regards
    Arun

  • How to avoid report running for all the values in roll up of guided naviga

    Hi
    Thanks in Advance
    I have 3 reports on three different pages of a dashboard. (Implemented guided navigation on one column of each report).When I click on value of guided navigation column it guides me to report 2 for that particular value (is prompted), same way for 3 report also till here it works fine.
    However when I return from report 3 to report 2 and 2 to 1, the reports are running for all the values instead for the value which was passed by guided navigation of previous report earlier (Value on which I clicked to pass to the next report).
    Edited by: 808623 on Nov 9, 2010 2:10 AM

    Yes
    Example : If i click on values 'X' in report 1
    Report 2 shows results for 'X' only. And if i click on Value say 'Y' in 2 then report 3 shows for only 'Y'. But when i rollup from 3 to 2, Report 2 is showing for all values rather than showing 'x'.
    I'm using Link or Image Dashboard Object > Destination>Request or Dashboard (path of previous report)
    Edited by: 808623 on Nov 9, 2010 2:37 AM

  • How to display mapviewer labels in two lines instead of one?

    Hi,
    I have been using the addJDBCTheme to display the map along with the labels as follows:
    mapviewer.addJDBCTheme("aaa","a", "SELECT geom, col1 || ':' || col2 label_value from table_name","GEOM","","styleName","label_value","T.ROAD NAME" ,false);
    So the label is displayed as col1Value:col2Value.
    Now I need to display the label as follows:
    col1Value
    col2Value
    I tried using this
    mapviewer.addJDBCTheme("aaa","a", "SELECT geom, col1 || chr(10) || col2 label_value from table_name","GEOM","","styleName","label_value","T.ROAD NAME" ,false);
    But it doesnt work. This displays col1Valuecol2Value
    So I tried using this:
    mapviewer.addJDBCTheme("aaa","a", "SELECT geom, col1 label_value from table_name UNION ALL SELECT geom, col2 label_value from table_name","GEOM","","styleName","label_value","T.ROAD NAME" ,false);
    This actually works. Meaning it displays the label in two lines. But the two lines are almost attached together, there is no space between them at all. It is sometimes very difficult to read.
    Would really appreciate any suggestions to resolve this issue.
    Is there any other solution to display a label in two lines? I tried changing the label style to set the line-height. But that does'nt work either.
    Lakshmi

    Multiline label aren't supported as yet.
    JayantDoes MapViewer 10.1.3 (the latest version for present) support it?

  • How to display axis labels on both x and y-axis of a column chart

    hi,
     i have an urgent requirement of having axis labels on both x and y axis
    In x-axis i got it by sorting order also but in y-axis i'm unable to do
    i need in y-axis ,my column values are L1,L2,L3,----L10these shuold display in y-axis in sorting order and 0 in axis should remain as it is ..........how to take the interval ....? as of now i'm using Auto
    my y-axis values shud look like 0,L1,L2,L3,L4,----L10can anyone get perfect solution
    thanx in advance
    lucky

    Hi Lucky,
    Per my understanding that you want to display the values(Column1) like  "L1,L2,L3....L10" which comes from the "Series group" in the Y-Axis label and keep the row group in "Category group" to
    display in the x-axis and Numric column(1,2,3,4) in the "Value", right?
    Gernerally the lable display in the y-axis is automatically based on the value of the Numric column in the "Value" and it default is numbric labels.
    I have tested on my local environment and in your scenario, i suggest to hide the axis lable of the y-axis and create an tablix to only show the one column contains the values (L1,L2,L3,L3) to display in the place of the hidden y-axis label.
    Detais information about to design an new y-axis label ae below for your reference:
    Create an tablix to display only the row group of the "Column1" ( for the
    Column1 may have duplicate values, you can create parent row group for this column and hide the detail column by setting the "Column Visibility").
    Right click the y-axis to select the "Vertical Axis Properties" and select the "Labels" on the left pane to check the "Hide Axis labels"
    Select the Chart Area and in the properties set value of left=0 under the CustomPosition:
    Set the border style=None for both the Chart and Column1's row group
    Drag the tablix at the position near the hidden y-axis and set the size of both the chart and the tablix to make the value in the tablix row group(Column1) to be align with the y-axis label:
    Right click the "Chart legend" to delete or hide the legend
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to display desired label i/o values on JuRadioButtonGroupPanel ?

    Hi ,
    Appreciate if someone can help !
    I have created a Radio Buttons group by using JURadioButtonGroupPanel on the JPanel, then I entered 2 values (Y,N) in the Radio ButtonGroup Binding Editor under set of values field. When running the form, I could see the values. However, What should I do next if I want to show more meaningful wordings ('Yes', 'No') i/o the values (Y,N) on the screen ? Thanks in advance.
    Calvin

    I try to avoid using JURadioButtonGroupPanel and try to use comboboxes or checkboxes instead. But that's not always feasible. I have just recently noticed the bug about the radio buttons not being enabled/disabled based on the specification and/or an overwritten isAttributeUpdateable in the view object/entity so I have not had the time to figure out a solution or posting a bug report.
    But the "rowImpl" text for the radio button labels it seems to me that an extra refreshControl solves it most of the time. I subclassed JURadioButtonGroupPanel, below is my overwritten createButtons method which checks for this "ugly label", refreshes the control and tries again (max 10 times). Maybe not the most elegant solution but sadly ADF Swing does not often give space for the most elegant solutions (unless you study the framework very hard (by reading the source code, documentation is sparse) and rewrite big chunks of it).
    public class FSRadioButtonGroupPanel extends JURadioButtonGroupPanel
      public FSRadioButtonGroupPanel(
      public AbstractButton[] createButtons(Object values[])
        AbstractButton[] ret = super.createButtons(values);
        if (ret != null && ret.length > 0)
          int count = 1;   
          while (ret[0] != null && ret[0].getText().contains("RowImpl") && count <= 10)
            System.out.println("Ugly Tab text, recreating: " + count);
            getModel().refreshControl();
            ret = super.createButtons(values);
            count++;     
        return ret;
    }

Maybe you are looking for

  • F150 - Dunning

    How Do Everyone, Can anyone tell me how we can have the reminders spooled into individual files as oppose to just one big spool file? Thanks Andy

  • App download error PS1036ti

    trying to pay for and download an app but keep getting "We ran into a problem while processing your request PS1036ti what does this mean??

  • Vendor/Customer Account Group and Master Records

    Hi Gurus, Please tell me during implementation Vendor/Customer account groups and Master Records will be prepared by FI Consultants or MM, SD Consultants? Waiting for reply ThankYOu

  • Managing Space on my phone. Majority of space is occupied by "Documents and Data." What is Documents and Data?

    Trying to free up space on my phone, but when I plug my phone into my computer, it tells me that a majority of the space occupied is by "Documents and Data." I don't know what Documents and Data is and I don't know what I have to delete to free up sp

  • [Info] redland-1.0.6-1 file conflicts

    Redland file conflicts with Raptor! [root@arch-01 jada]# pacman -S redland resolving dependencies... done. looking for inter-conflicts... done. Targets: redland-1.0.6-1 Total Package Size: 0.78 MB Proceed with installation? [Y/n] y :: Retrieving pack