Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-12611

rich:dataTable doesn't call restoreState() on a row-level composite component

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.3.Final
    • Fix Version/s: 4.3.0.M3
    • Component/s: component-tables
    • Labels:
      None
    • Environment:

      Debian Wheezy, Linux, amd64

    • Sprint:
      4.3.0.M3 - EDT and AJAX

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bleathem Brian Leathem
                  Reporter:
                  mcayland Mark Cave-Ayland
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 1 hour
                    1h
                    Remaining:
                    Remaining Estimate - 1 hour
                    1h
                    Logged:
                    Time Spent - Not Specified
                    Not Specified