Package | Description |
---|---|
org.omnifaces.el | |
org.omnifaces.util |
Modifier and Type | Method and Description |
---|---|
void |
ScopedRunner.invoke(Callback.Void callback)
Invokes the callback within the scope of the variables being given in the constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
Events.addAfterPhaseListener(PhaseId phaseId,
Callback.Void callback)
Adds a phase listener to the current view that invokes the given callback every time after given phase.
|
static void |
Events.addBeforePhaseListener(PhaseId phaseId,
Callback.Void callback)
Adds a phase listener to the current view that invokes the given callback every time before given phase ID.
|
static PhaseListener |
Events.createAfterPhaseListener(PhaseId phaseId,
Callback.Void callback)
Creates a phase listener that invokes the given callback every time after the given phase.
|
static PhaseListener |
Events.createBeforePhaseListener(PhaseId phaseId,
Callback.Void callback)
Creates a phase listener that invokes the given callback every time before the given phase.
|
static void |
Events.setCallbackAfterPhaseListener(PhaseId phaseId,
Callback.Void callback)
Sets a phase listener for callback by a global phase listener during the current request that invokes the
given callback every time after given phase ID.
|
static void |
Events.setCallBackBeforePhaseListener(PhaseId phaseId,
Callback.Void callback)
Sets a phase listener for callback by a global phase listener during the current request that invokes the
given callback every time before given phase ID.
|
static void |
Events.subscribeToViewEvent(Class<? extends SystemEvent> type,
Callback.Void callback)
Install the callback instance referenced by argument listener into the UIViewRoot as a listener for events of type systemEventClass.
|