When an instance of this event is passed
to SystemEventListener#processEvent or ComponentSystemEventListener#processEvent, the listener
implementation may assume that the source of this event
instance is the UIViewRoot instance that is about to be
rendered.
It is valid for a listener for this event to change the UIViewRoot in the current javax.faces.context.FacesContext,
but the listener must ensure that the new UIViewRoot was
created with a call to javax.faces.application.ViewHandler#createView, and that the view is
fully populated with the children to be traversed during render. The
listener implementation may call javax.faces.view.ViewDeclarationLanguage#buildView to populate
the UIViewRoot.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | PreRenderViewEvent(UIViewRoot
the root)UIViewRoot that is about to be
rendered.Instantiate a new
|
| public | PreRenderViewEvent(FacesContext
the Faces context. facesContext, UIViewRoot the root)UIViewRoot that is about to be
rendered.Instantiate a new
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. | |
| PreRenderViewEvent | back to summary |
|---|---|
| public PreRenderViewEvent(UIViewRoot root) Instantiate a new
| |
| PreRenderViewEvent | back to summary |
|---|---|
| public PreRenderViewEvent(FacesContext facesContext, UIViewRoot root) Instantiate a new
| |