Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-348

Preserve the UIViewRoot across a redirect.

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.4
    • 2.0 M2
    • JSF
    • None

    Description

      Currently with alwaysRedirectOnPause turned on, the UIViewRoot for a view gets recreated after the redirect even if redisplaying the same view. This is a shortcoming of the JSF spec, in that a redirect causes a new UIViewRoot to be constructed by the ViewHandler because the javax.faces.ViewState parameter isn't preserved across the redirect. As a value-add, SWF could do some extra work to preserve the existing UIViewRoot across the redirect so that the state is not lost.

      In particular, the existing implementation causes problems in working with Shale's ViewController callbacks, and when working with components whose states have been manipulated during the course of the request processing.

      Attachments

        Issue Links

          Activity

            People

              jeremyg484 Jeremy Grelle
              jeremyg484 Jeremy Grelle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3d
                  3d
                  Remaining:
                  Remaining Estimate - 3d
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified