public class PostConstructViewMapEvent extends ComponentSystemEvent
This event must be published by a call to {jakarta.faces.application.Application#publishEvent} when the view map is
first created. This must happen on the first time a call is made to UIViewRoot.getViewMap()
on a
UIViewRoot
instance. The source for this event is the UIViewRoot
.
Constructor and Description |
---|
PostConstructViewMapEvent(FacesContext facesContext,
UIViewRoot root)
Instantiate a new |
PostConstructViewMapEvent(UIViewRoot root)
Instantiate a new |
getComponent, isAppropriateListener, processListener
getFacesContext
public PostConstructViewMapEvent(UIViewRoot root)
Instantiate a new PostConstructViewMapEvent
that indicates the argument root
was just
associated with its view map.
root
- the UIViewRoot
for which a view map has just been created.java.lang.IllegalArgumentException
- if the argument is null
.public PostConstructViewMapEvent(FacesContext facesContext, UIViewRoot root)
Instantiate a new PostConstructViewMapEvent
that indicates the argument root
was just
associated with its view map.
facesContext
- the Faces context.root
- the UIViewRoot
for which a view map has just been created.java.lang.IllegalArgumentException
- if the argument is null
.