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

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0-beta
    • JSR-344
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment