5 Replies Latest reply on Apr 8, 2013 11:47 PM by 975815

    selectManyChoice & dynamic list


      I'm trying to use the selectManyChoice component but it is not saving the selected values. When I drag & drop the attribute from the data control and choose 'multiple selection', it doesn't allow me to specify the LOV source (I can do it for single selection). That's why I have done it manually and this is what I have so far:

      <af:selectManyChoice value="#{bindings.ServiceType.inputValue}"
                                               label="Service Type/s" id="smc1">
                            <f:selectItems value="#{bindings.serviceTypeList.items}"
      Page def:
      <list IterBinding="ServiceTypeIterator" ListOperMode="multiSelect"
                ListIter="serviceTypeListIterator" id="ServiceType"
                DTSupportsMRU="true" StaticList="false">
              <Item Value="Code"/>
              <Item Value="Description"/>
              <Item Value="key"/>
              <Item Value="value"/>
              <Item Value="key"/>
              <Item Value="value"/>
          <list IterBinding="serviceTypeListIterator" id="serviceTypeList"
                ListOperMode="multiSelect" ListIter="serviceTypeListIterator"
              <Item Value="key"/>
              <Item Value="value"/>
      ServiceType is defined as a collection in the model.

      As you can see I have 2 different iterators (one for the values and one for LOV).
      Am I missing something?


      JDev version: