Package | Description |
---|---|
javax.faces.component |
Fundamental APIs for user
interface components.
|
javax.faces.context |
Classes and interfaces
defining per-request state information.
|
javax.faces.event |
Interfaces describing events and event
listeners, and concrete event implementation classes.
|
Modifier and Type | Method and Description |
---|---|
PhaseId |
WrapperEvent.getPhaseId() |
Modifier and Type | Method and Description |
---|---|
void |
UIViewRoot.broadcastEvents(FacesContext context,
PhaseId phaseId)
Broadcast any events that have been queued. |
private static PhaseEvent |
UIViewRoot.createPhaseEvent(FacesContext context,
PhaseId phaseId) |
private void |
UIData.iterate(FacesContext context,
PhaseId phaseId)
Perform the appropriate phase-specific processing and per-row
iteration for the specified phase, as follows:
Set the
rowIndex property to -1, and process the facets
of this UIData component exactly once.
Set the rowIndex property to -1, and process the facets
of the UIColumn children of this UIData component
exactly once.
Iterate over the relevant rows, based on the first
and row properties, and process the children
of the UIColumn children of this UIData component
once per row.
|
private void |
UIViewRoot.notifyAfter(FacesContext context,
PhaseId phaseId) |
private void |
UIViewRoot.notifyBefore(FacesContext context,
PhaseId phaseId) |
private void |
UIViewRoot.notifyPhaseListeners(FacesContext context,
PhaseId phaseId,
boolean isBefore)
Utility method that notifies phaseListeners for the given
phaseId.
|
void |
WrapperEvent.setPhaseId(PhaseId phaseId) |
Modifier and Type | Field and Description |
---|---|
private PhaseId |
FacesContext.currentPhaseIdForInvalidFactoryConstruction |
Modifier and Type | Method and Description |
---|---|
PhaseId |
FacesContextWrapper.getCurrentPhaseId()
The default behavior of this method is to
call
FacesContext.getCurrentPhaseId()
on the wrapped FacesContext object. |
PhaseId |
FacesContext.getCurrentPhaseId()
Return the value last set on this
|
Modifier and Type | Method and Description |
---|---|
void |
PartialViewContextWrapper.processPartial(PhaseId phaseId)
The default behavior of this method is to
call
PartialViewContext.processPartial(PhaseId)
on the wrapped PartialViewContext object. |
abstract void |
PartialViewContext.processPartial(PhaseId phaseId)
Perform lifecycle processing on
components during the indicated |
void |
FacesContextWrapper.setCurrentPhaseId(PhaseId currentPhaseId)
The default behavior of this method is to
call
FacesContext.setCurrentPhaseId(PhaseId)
on the wrapped FacesContext object. |
void |
FacesContext.setCurrentPhaseId(PhaseId currentPhaseId)
The implementation must call this method at the earliest possble point in time after entering into a new phase in the request processing lifecycle. |
Modifier and Type | Field and Description |
---|---|
static PhaseId |
PhaseId.ANY_PHASE
Identifier that indicates an interest in events, no matter
which request processing phase is being performed.
|
static PhaseId |
PhaseId.APPLY_REQUEST_VALUES
Identifier that indicates an interest in events queued for
the Apply Request Values phase of the request
processing lifecycle.
|
static PhaseId |
PhaseId.INVOKE_APPLICATION
Identifier that indicates an interest in events queued for
the Invoke Application phase of the request
processing lifecycle.
|
private PhaseId |
PhaseEvent.phaseId |
private PhaseId |
FacesEvent.phaseId |
private PhaseId |
ExceptionQueuedEventContext.phaseId |
static PhaseId |
PhaseId.PROCESS_VALIDATIONS
Identifier that indicates an interest in events queued for
the Process Validations phase of the request
processing lifecycle.
|
static PhaseId |
PhaseId.RENDER_RESPONSE
Identifier for the Render Response phase of the
request processing lifecycle.
|
static PhaseId |
PhaseId.RESTORE_VIEW
Identifier that indicates an interest in events queued for
the Restore View phase of the request
processing lifecycle.
|
static PhaseId |
PhaseId.UPDATE_MODEL_VALUES
Identifier that indicates an interest in events queued for
the Update Model Values phase of the request
processing lifecycle.
|
private static PhaseId[] |
PhaseId.values
Array of all defined values, ascending order of ordinal value.
|
Modifier and Type | Field and Description |
---|---|
static java.util.List<PhaseId> |
PhaseId.VALUES
List of valid
PhaseId instances, in ascending order
of their ordinal value. |
Modifier and Type | Method and Description |
---|---|
PhaseId |
PhaseListener.getPhaseId()
Return the identifier of the request processing phase during
which this listener is interested in processing
PhaseEvent
events. |
PhaseId |
PhaseEvent.getPhaseId()
Return the
PhaseId representing the current request
processing lifecycle phase. |
PhaseId |
FacesEvent.getPhaseId()
Return the identifier of the request processing phase during
which this event should be delivered.
|
PhaseId |
ExceptionQueuedEventContext.getPhaseId()
Return the |
Modifier and Type | Method and Description |
---|---|
void |
FacesEvent.setPhaseId(PhaseId phaseId)
Set the
PhaseId during which this event will be
delivered. |
Constructor and Description |
---|
ExceptionQueuedEventContext(FacesContext context,
java.lang.Throwable thrown,
UIComponent component,
PhaseId phaseId)
Instantiate a new
|
PhaseEvent(FacesContext context,
PhaseId phaseId,
Lifecycle lifecycle)
Construct a new event object from the specified parameters.
|