Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3783

Use tree visiting to pss algorithm in 2.2.x

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-beta
    • Component/s: JSR-344
    • Labels:
      None

      Description

      Per spec it was decided long time ago to use tree visiting when state saving is performed. The fix suppose deprecate org.apache.myfaces.SAVE_STATE_WITH_VISIT_TREE_ON_PSS param and remove the unused code in DefaultFaceletsStateManagementStrategy . I tried to use visitTree when the component is restored, but it doesn't work because the visitTree relies on the tree integrity. ComponentModificationManager stuff was not included in JSF 2.2, so the best here is keep the code as is, using invokeOnComponent to perform addition and removals.

        Attachments

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              lu4242 Leonardo Uribe

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment