2 Replies Latest reply on Apr 30, 2012 10:21 PM by 931325

    af:selectOneChoice - with cascading LOV always displays "No Selection" item

    931325
      I have 2 attributes (say, State & Capital) as LOV's in my TRVO. Based on the first attribute selected in this case State, I need my second attribute to refresh and show its Capital.
      I set up a cascading LOV based on the first attribute's value. I rendered these two attributes as af:selectOneChoice (note: I've unselected the Include "No Selection" item in my choiceList options on that attribute).

      The values gets refreshed, as I select the first value from the dropdown (say I select Wisconsin as my state), the second dropdown displays a "No Selection item" and my Capital (Madison) as well.

      Question is : How can I NOT show the No Selection item in my second dropdown and directly display the Capital alone??

      Please help. Thanks !