[
https://issues.apache.org/jira/browse/TRINIDAD-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Weßendorf resolved TRINIDAD-1878.
------------------------------------------
Resolution: Invalid
Thjis works fine here (trunk on trinidad and myfaces), with xhtml file:
<?xml version="1.0" encoding="UTF-8"?>
<tr:document xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:tr="http://myfaces.apache.org/trinidad"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:trh="http://myfaces.apache.org/trinidad/html" title="TESTER">
<tr:form>
<tr:selectOneChoice label="Make a choice...">
<c:forEach var="item" items="#{bean.someData}">
<tr:selectItem value="#{item.poperty}" label="#{item.poperty}"/>
</c:forEach>
</tr:selectOneChoice>
</tr:form>
</tr:document>
> 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.