[ 
https://issues.apache.org/jira/browse/TRINIDAD-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Robinson resolved TRINIDAD-1319.
---------------------------------------

    Resolution: Invalid

This is not a bug. Please read about JSTL and how it work in JSF. You are not 
using it correctly, you cannot use a component variable in a JSP tag, you are 
combining apples and oranges.

This should help:

http://andrewfacelets.blogspot.com/2008/06/understanding-datatable.html

> 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.

Reply via email to