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

Add support for partial state saving in JSF 2

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Complete
    • 2.1.1
    • 2.2.0.M1
    • JSF
    • None

    Description

      JSF 2 introduces a new partial state saving mechanism. The details are encapsulated in a new class called StateManagementStrategy, which is obtained through the ViewDeclarationLanguage (VDL) implementation for the current view. The new state saving mechanism is supported for Facelets only. The VDL is required to return null for JSP views.

      Currently Web Flow applications running on JSF 2 must disable partial state saving through the "javax.faces.PARTIAL_STATE_SAVING" servlet context parameter. Spring Web Flow has its own StateManager called FlowViewStateManager and it does not yet support partial state saving. The goal of this ticket is to introduce support for partial state saving in the FlowViewStateManager.

      The main purpose of the FlowViewStateManager is to store JSF component state in Web Flow's view scope. Hence the introduction of partial state saving aims to re-use the StateManagementStrategy implementation provided by the runtime and only customize where the state is actually stored. For JSF 1.2, state saving will continue to work as is.

      Attachments

        Issue Links

          Activity

            People

              rstoya05-aop Rossen Stoyanchev
              rstoya05-aop Rossen Stoyanchev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: