[richfaces-issues] [JBoss JIRA] Created: (RF-4330) rich:columns value unable to reference outer var in nested richTables
Jason Grant (JIRA)
jira-events at lists.jboss.org
Thu Aug 28 20:52:38 EDT 2008
rich:columns value unable to reference outer var in nested richTables
---------------------------------------------------------------------
Key: RF-4330
URL: https://jira.jboss.org/jira/browse/RF-4330
Project: RichFaces
Issue Type: Bug
Environment: Linux: fedora 7 and fedora 9. Java 6.
Reporter: Jason Grant
The following code snippet has a columns component whose value is derived from the vars of the outer [nested] dataTables. This always renders as an empty table:
<rich:dataTable value="#{jasonBean.outerRows}" var="row">
<rich:column breakBefore="true">
<!-- Nested table within a column -->
<rich:dataTable value="#{row.innerRows}" var="innerRow">
<rich:columns value="#{innerRow.columns}" var="innerColumn">
<h:outputText value="#{innerColumn.value}"/>
<rich:spacer />
</rich:columns>
</rich:dataTable>
</rich:column>
</rich:dataTable>
If I instead assign the column value via a method that is not coupled to the vars of the enclosing tables, all works well. For example:
<rich:columns value="#{jasonBean.bogusColumns}" var="innerColumn">
This makes me suspect that I am witnessing a bug, rather than doing something naive.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list