[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:36:21 EST 2012


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

Mark Cave-Ayland updated RF-12611:
----------------------------------

    Attachment: RFStateBug1.tar.gz


The attached file contains a sample application (netbeans project) demonstrating the issue. 

Both a working h:dataTable and a non-working rich:dataTable example page are provided linked from the initial index.xhtml page.

The application was tested with Mojarra 2.1.12 and RF 4.2.3 Final.

                
> 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
>         Attachments: RFStateBug1.tar.gz
>
>
> 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