MyFaces Core
  1. MyFaces Core
  2. MYFACES-3378

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.10, 2.1.4
    • Component/s: JSR-314
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Leonardo Uribe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development