Skip to Content
avatar image
Former Member

Drop down by key - displays sometimes the value sometimes the text


I am using a DropDownByKey. When starting the application the drop down box shows the TEXT of the selected item. After navigating to another view and coming back the drop down box displays the VALUE of the selected item. How can I fix this problem? I want the drop down box to display always the item's TEXT not its VALUE.

Thank you.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 08, 2008 at 02:06 PM

    I have only ever seen this happen when the VALUE_SET changes or is cleared and the value of the context attribute bound to the Key UI element property can no longer be found in the VALUE_SET. Are you populating the VALUE_SET manually? If so check to make sure it is isn't getting recalculated improperly. If the VALUE_SET is coming from the Data Dictionary Domain, then you might want to consider opening a support message as this may well be a bug.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Thomas Jung

      Hello Thomas,

      I have already tested it. I relocated the method call-up for filling the value from the wddoinit method of the view to the wddoinit method of the componentcontroller an placed a breakpoint in it. The method is not passed during the navigation from view A to view B and back. But the problem still exists. After coming back to view A the text is replaced by the value.