[
https://issues.apache.org/jira/browse/TRINIDAD-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898104#action_12898104
]
Christoph Kainrath commented on TRINIDAD-1878:
----------------------------------------------
forEach also didn't work
> 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
> Components: Components
> 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.
> <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>
> 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.