|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.AjaxBehavior
public class AjaxBehavior
An instance of this class is added
to an EditableValueHolder
or ActionSource
component's
attribute Map
to cause the rendering of the
JavaScript jsf.ajax.request
function call
when the component is rendered.
Field Summary | |
---|---|
static String |
AJAX_ACTION
The identifier for Ajax action events. |
static String |
AJAX_BEHAVIOR
The key that when added to a component's attributes Map will cause the rendering of JavaScript to perform an Ajax request. |
static String |
AJAX_VALUE_CHANGE
The identifier for Ajax value change events. |
static String |
AJAX_VALUE_CHANGE_ACTION
The identifier for both Ajax value change and action events. |
Constructor Summary | |
---|---|
AjaxBehavior(String events,
String onevent,
String onerror,
Collection<String> execute,
Collection<String> render,
Boolean disabled)
|
Method Summary | |
---|---|
String |
getEvents()
Return the Faces event associated with this instance. |
Collection<String> |
getExecute()
Return a
|
String |
getOnError()
Return the |
String |
getOnEvent()
Return the |
Collection<String> |
getRender()
Return a
|
Boolean |
isDisabled()
Return the disabled status of this component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String AJAX_BEHAVIOR
The key that when added to a component's attributes Map will cause the rendering of JavaScript to perform an Ajax request.
public static final String AJAX_VALUE_CHANGE
The identifier for Ajax value change events.
public static final String AJAX_ACTION
The identifier for Ajax action events.
public static final String AJAX_VALUE_CHANGE_ACTION
The identifier for both Ajax value change and action events.
Constructor Detail |
---|
public AjaxBehavior(String events, String onevent, String onerror, Collection<String> execute, Collection<String> render, Boolean disabled)
Method Detail |
---|
public String getEvents()
Return the Faces event associated with this instance.
public String getOnError()
Return the String
of
JavaScript function name that will be used to identify
the client callback function that should be run in the event of
an error.
public String getOnEvent()
Return the String
of
JavaScript function name that will be used to identify the
client callback function that should be run on the occurance
of a client-side event.
public Collection<String> getExecute()
Return a
Collection<String>
of component
identifiers that will be used to identify components that should be
processed during the execute
phase of the request
processing lifecycle.
public Collection<String> getRender()
Return a
Collection<String>
of component
identifiers that will be used to identify components that should be
processed during the render
phase of the request
processing lifecycle.
public Boolean isDisabled()
Return the disabled status of this component.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |