org.omnifaces.event
Class PostInvokeActionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.SystemEvent
          extended by javax.faces.event.ComponentSystemEvent
              extended by org.omnifaces.event.PostInvokeActionEvent
All Implemented Interfaces:
java.io.Serializable

@NamedEvent(shortName="postInvokeAction")
public class PostInvokeActionEvent
extends javax.faces.event.ComponentSystemEvent

Use this event to have a hook on a listener method during the afterphase of the 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="postInvokeAction" listener="#{bean.postInvokeAction}" />
 

Since:
1.1
Author:
Bauke Scholtz
See Also:
PreInvokeActionEvent, InvokeActionEventListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PostInvokeActionEvent(javax.faces.component.UIComponent component)
          Construct a new post invoke action event on the given component.
 
Method Summary
 
Methods inherited from class javax.faces.event.ComponentSystemEvent
getComponent
 
Methods inherited from class javax.faces.event.SystemEvent
isAppropriateListener, processListener
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PostInvokeActionEvent

public PostInvokeActionEvent(javax.faces.component.UIComponent component)
Construct a new post invoke action event on the given component.

Parameters:
component - The component to invoke the event on.