Same problem with the t:datatable ...
-------------------------------------
Key: MYFACES-803
URL: http://issues.apache.org/jira/browse/MYFACES-803
Project: MyFaces
Type: Sub-task
Components: Tomahawk
Reporter: Hans Meusch
Same problem with dataTable: iteration is not done within facet - here:
benef.description is always the first element of the list.
(Bug-Code)
<t:dataTable value="#{projectBenefitBean.data11}" var="benef">
<h:column>
<x:popup styleClass="popup">
<h:outputText value="#{benef.description}"/>
<f:facet name="popup">
<h:panelGroup>
<h:outputText value="#{benef.description}"/>
<h:commandLink
rendered="#{projectBenefitBean.mode == 0}" styleClass="BENEFITBUTTON">
<f:param value="1" name="col"/>
<f:param value="1" name="row"/>
<h:outputText value="changes"/>
</h:commandLink>
</h:panelGroup>
</f:facet>
</x:popup>
</h:column>
</t:dataTable>
This code works fine ... (using h:datatable instead of t:datatable):
<h:dataTable value="#{projectBenefitBean.data11}" var="benef">
<h:column>
<x:popup styleClass="popup">
<h:outputText value="#{benef.description}"/>
<f:facet name="popup">
<h:panelGroup>
<h:outputText value="#{benef.description}"/>
<h:commandLink
rendered="#{projectBenefitBean.mode == 0}" styleClass="BENEFITBUTTON">
<f:param value="1" name="col"/>
<f:param value="1" name="row"/>
<h:outputText value="changes"/>
</h:commandLink>
</h:panelGroup>
</f:facet>
</x:popup>
</h:column>
</h:dataTable>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira