org.openfaces.ajax
Class AjaxRequest
java.lang.Object
org.openfaces.ajax.AjaxRequest
public class AjaxRequest
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static AjaxRequest getInstance()
getInstance
public static AjaxRequest getInstance(javax.faces.context.FacesContext context)
addReloadedComponent
public void addReloadedComponent(java.lang.String clientId)
addReloadedComponent
public void addReloadedComponent(javax.faces.component.UIComponent component)
getReloadedComponentIds
public java.util.Set<java.lang.String> getReloadedComponentIds()
getAjaxResult
public java.lang.Object getAjaxResult()
- Returns:
- the Ajax request result value as described in the
setAjaxResult
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. The value specified with this method will be available through the
ajaxResult
field of the event object passed to the client-side onajaxend
event.
- Parameters:
ajaxResult
- any primitive type, String, any Iterable instance or a Map.
Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.