4 Replies Latest reply: Nov 20, 2012 5:23 AM by ArunBabu RSS

    af:iterator on List<String> with af:selectOneChoice.  Value not persisting

    ArunBabu
      In the below code selectedDetailsLayouts is a collection of String.
      The selected value from selectOneChoice is not being stored in the selectedDetailsLayouts.

      <af:iterator value="#{pageFlowScope.ConfiguratorBean.selectedDetailsLayouts}"
      var="selectedlayout" id="i41">
      <af:selectOneChoice label="" id="smc1"
      value="#{selectedlayout}"
      autoSubmit="true">
      <f:selectItems value="#{pageFlowScope.ConfiguratorBean.allDetailsViewLayouts}"
      id="smc2"/>
      </af:selectOneChoice>
      </af:iterator>