@NamedEvent(shortName="preInvokeAction") public class PreInvokeActionEvent extends ComponentSystemEvent
PhaseId.INVOKE_APPLICATION
.
This event is supported on UIViewRoot
, UIForm
, UIInput
and UICommand
components.
This event is particularly helpful as a replacement of <f:event type="preRenderView">
and also
provides the possibility to invoke multiple action listeners on a single UIInput
and UICommand
components on an easy manner.
<f:event type="preInvokeAction" listener="#{bean.preInvokeAction}" />
PostInvokeActionEvent
,
InvokeActionEventListener
,
Serialized Formsource
Constructor and Description |
---|
PreInvokeActionEvent(UIComponent component)
Construct a new pre invoke action event on the given component.
|
getComponent, isAppropriateListener, processListener
getSource, toString
public PreInvokeActionEvent(UIComponent component)
component
- The component to invoke the event on.Copyright © 2012–2014 OmniFaces. All rights reserved.