Iterator within tr:selectOneChoice and tr:selectOneListbox does not work
------------------------------------------------------------------------
Key: TRINIDAD-1878
URL: https://issues.apache.org/jira/browse/TRINIDAD-1878
Project: MyFaces Trinidad
Issue Type: Bug
Affects Versions: 2.0.0-alpha-2
Environment: Windows XP, Apache Tomcat 6, Java 1.6
Reporter: Christoph Kainrath
When using an iterator within an selectOneChoice or selectOneListBox, the
iterator does not work.
{code:xml}
<tr:selectOneChoice label="#{msg.descriptionTemplateElementType}"
value="#{pluginBean.id}">
<tr:iterator var="sub" value="#{pluginBean.templateElementTypes}">
<tr:selectItem label="#{sub.value}" value="#{sub.key}"/>
</tr:iterator>
</tr:selectOneChoice>
{code}
I tried the following:
* selectOneChoice without iterator, just with hardcoded selectItem elements - OK
* same iterator outside selectOneChoice with nested outputText - OK
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.