[richfaces-issues] [JBoss JIRA] (RF-12611) rich:dataTable doesn't call restoreState() on a row-level composite component

Mark Cave-Ayland (JIRA) jira-events at lists.jboss.org
Thu Nov 15 06:32:21 EST 2012


Mark Cave-Ayland created RF-12611:
-------------------------------------

             Summary: rich:dataTable doesn't call restoreState() on a row-level composite component
                 Key: RF-12611
                 URL: https://issues.jboss.org/browse/RF-12611
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-tables
    Affects Versions: 4.2.3.Final
         Environment: Debian Wheezy, Linux, amd64
            Reporter: Mark Cave-Ayland


I currently have a row-level composite component that works well within a h:dataTable which I am looking to migrate to rich:dataTable for more flexibility with layout. However when embedded within a rich:dataTable, the component state is not preserved during the RESTORE_VIEW phase.

Further investigation with a debugger shows that the problem is within UIDataAdapter::restoreState() in that requiresRowIteration() returns false during the RESTORE_VIEW phase, and so the restoreState() function within the row-level composite component is never called.

The related transcript from IRC can be found here: http://transcripts.jboss.org/channel/irc.freenode.org/%23richfaces/2012/%23richfaces.2012-11-14.log.html.


Many thanks,

Mark.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list