[richfaces-issues] [JBoss JIRA] Resolved: (RF-4330) rich:columns value unable to reference outer var in nested richTables

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Fri Aug 29 07:16:41 EDT 2008


     [ https://jira.jboss.org/jira/browse/RF-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski resolved RF-4330.
--------------------------------

    Resolution: Duplicate Issue
      Assignee: Tsikhon Kuprevich


> 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
>    Affects Versions: 3.2.1
>         Environment: Linux: fedora 7 and fedora 9. Java 6.
>            Reporter: Jason Grant
>            Assignee: Tsikhon Kuprevich
>         Attachments: jason_sandbox.xhtml, JasonBean.java
>
>
> 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