You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org> on 2008/11/21 10:34:44 UTC

[jira] Commented: (TRINIDAD-1319) c:forEach does not work within tr:table

    [ https://issues.apache.org/jira/browse/TRINIDAD-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649632#action_12649632 ] 

Matthias Weßendorf commented on TRINIDAD-1319:
----------------------------------------------

see:
http://myfaces.apache.org/trinidad/trinidad-api/apidocs/org/apache/myfaces/trinidad/component/UIXIterator.html

tried the iterator instead ?

> c:forEach does not work within tr:table
> ---------------------------------------
>
>                 Key: TRINIDAD-1319
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1319
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Facelets
>    Affects Versions: 1.0.10-core
>         Environment: Facelets 1.1.14, Trinidad 1.0.10, Orchestra 1.3
>            Reporter: Tomas Havelka
>
> I found, that c:forEach tag from JSTL dos not work within some Trinidad components. In code above, no items are listed using c:forEach tag in tr:table component:
>       <tr:table rowBandingInterval="1" value="#{oxViewController.model}" var="app" width="100%">
>         <tr:column headerText="Code" sortable="true" sortProperty="code" width="35%">
>           <tr:outputText value="#{app.code}"/>
>         </tr:column>
>         <tr:column headerText="Name" sortable="true" sortProperty="name">
>           <tr:outputText value="#{app.name}"/>
>         </tr:column>
>         <f:facet name="detailStamp">
>           <tr:panelList>
>             <c:forEach items="#{app.properties}" var="property">
>               <tr:outputText value="#{property.name}" shortDesc="#{property.description}"/>
>               <tr:outputText value=" [required]" inlineStyle="color:red" rendered="#{property.required}"/>
>             </c:forEach>
>           </tr:panelList>
>         </f:facet>
>       </tr:table>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.