Class PostRenderViewEvent

All Implemented Interfaces:
Serializable

public class PostRenderViewEvent extends ComponentSystemEvent

When an instance of this event is passed to SystemEventListener.processEvent(jakarta.faces.event.SystemEvent) or ComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent), the listener implementation may assume that the source of this event instance is the UIViewRoot instance that has just been rendered.

Since:
2.3
See Also:
  • Constructor Details

    • PostRenderViewEvent

      public PostRenderViewEvent(UIViewRoot root)

      Instantiate a new PostRenderViewEvent that indicates the argument root has just been rendered.

      Parameters:
      root - the UIViewRoot that has just been rendered.
      Throws:
      IllegalArgumentException - if the argument is null.
    • PostRenderViewEvent

      public PostRenderViewEvent(FacesContext facesContext, UIViewRoot root)

      Instantiate a new PostRenderViewEvent that indicates the argument root has just been rendered.

      Parameters:
      facesContext - the Faces context.
      root - the UIViewRoot that has just been rendered.
      Throws:
      IllegalArgumentException - if the argument is null.