This discussion is archived
4 Replies Latest reply: Nov 20, 2012 3:23 AM by ArunBabu RSS

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

ArunBabu Newbie
Currently Being Moderated
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>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points