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

UIComponent.setParent does not propagate setInView() call when processingEvents is false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.10, 2.1.4
    • JSR-314
    • None

    Description

      When PSS is disabled, the algorithm to restore view state disable event processing, but that cause setInView() is not called. Later, when a dynamic component is added using c:if, since setInView is false, PostAddToViewEvent is not called. With PSS enabled everything works well.

      The solution is when processing events is disabled, call another method that does not propagate the event but call setInView.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: