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
.
source
Constructor and Description |
---|
PostConstructViewMapEvent(FacesContext facesContext,
UIViewRoot root)
Instantiate a new |
PostConstructViewMapEvent(UIViewRoot root)
Instantiate a new |
getComponent, isAppropriateListener, processListener
getFacesContext
getSource, toString
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.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.IllegalArgumentException
- if the argument is null
.Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.