org.openfaces.event
Class AjaxActionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by javax.faces.event.ActionEvent
              extended by org.openfaces.event.AjaxActionEvent
All Implemented Interfaces:
java.io.Serializable

public class AjaxActionEvent
extends javax.faces.event.ActionEvent

See Also:
Serialized Form

Constructor Summary
AjaxActionEvent(javax.faces.component.UIComponent component)
           
 
Method Summary
 java.lang.Object getAjaxResult()
           
 void setAjaxResult(java.lang.Object ajaxResult)
          Specifies the value that can optionally be sent to the client-side by the server action processing code.
 
Methods inherited from class javax.faces.event.ActionEvent
isAppropriateListener, processListener
 
Methods inherited from class javax.faces.event.FacesEvent
getComponent, getPhaseId, queue, setPhaseId
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AjaxActionEvent

public AjaxActionEvent(javax.faces.component.UIComponent component)
Method Detail

getAjaxResult

public java.lang.Object getAjaxResult()
Returns:
the request result object as described in the setResult method.

setAjaxResult

public void setAjaxResult(java.lang.Object ajaxResult)
Specifies the value that can optionally be sent to the client-side by the server action processing code. This feature can be utilized for implementing the application-specific logic which requires some data to be sent along with the Ajax response.

A non-null value specified for this property will be assigned to the AjaxRequest object's ajaxResult property.

Parameters:
ajaxResult - any primitive type, String, any Iterable instance or a Map.


Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.