public class AjaxFunction
extends org.ajax4jsf.webapp.taglib.UIComponentTagBase
bodyContent, pageContext, UNIQUE_ID_PREFIX
Constructor and Description |
---|
AjaxFunction() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComponentType() |
java.lang.String |
getRendererType() |
void |
release() |
void |
setAction(javax.el.MethodExpression __action)
MethodBinding pointing at the application action to be invoked,
if this UIComponent is activated by you, during the Apply
Request Values or Invoke Application phase of the request
processing lifecycle, depending on the value of the immediate
property
Setter for action
|
void |
setActionListener(javax.el.MethodExpression __actionListener)
MethodBinding pointing at method accepting an ActionEvent with return type void
Setter for actionListener
|
void |
setAjaxSingle(javax.el.ValueExpression __ajaxSingle)
boolean attribute which provides possibility to limit JSF tree processing(decoding, conversion/validation, value applying)
to the component which send the request only
Setter for ajaxSingle
|
void |
setBypassUpdates(javax.el.ValueExpression __bypassUpdates)
If "true", after process validations phase it skips updates of model beans on a force render response.
|
void |
setData(javax.el.ValueExpression __data)
Serialized (on default with JSON) data passed on the client by a developer on AJAX request.
|
void |
setEventsQueue(javax.el.ValueExpression __eventsQueue)
Name of requests queue to avoid send next request before complete other from same event.
|
void |
setFocus(javax.el.ValueExpression __focus)
id of element to set focus after request completed on client side
Setter for focus
|
void |
setIgnoreDupResponses(javax.el.ValueExpression __ignoreDupResponses)
Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
in a queue already.
|
void |
setImmediate(javax.el.ValueExpression __immediate)
True means, that the default ActionListener should be executed
immediately (i.e.
|
void |
setLimitToList(javax.el.ValueExpression __limitToList)
If "true", then of all AJAX-rendered on the page components only those will be updated,
which ID's are passed to the "reRender" attribute of the describable component.
|
void |
setName(javax.el.ValueExpression __name)
Name of generated JavaScript function definition
Setter for name
|
void |
setOnbeforedomupdate(javax.el.ValueExpression __onbeforedomupdate)
The client side script method to be called before DOM is updated
Setter for onbeforedomupdate
|
void |
setOncomplete(javax.el.ValueExpression __oncomplete)
The client side script method to be called after the request is completed
Setter for oncomplete
|
void |
setProcess(javax.el.ValueExpression __process)
Id['s] (in format of call UIComponent.findComponent()) of components, processed at the phases 2-5 in case of AjaxRequest caused by this component.
|
protected void |
setProperties(javax.faces.component.UIComponent component) |
void |
setRequestDelay(javax.el.ValueExpression __requestDelay)
Attribute defines the time (in ms.) that the request will be wait in the queue before it is ready to send.
|
void |
setReRender(javax.el.ValueExpression __reRender)
Id['s] (in format of call UIComponent.findComponent()) of components, rendered in case of AjaxRequest caused by this component.
|
void |
setSimilarityGroupingId(javax.el.ValueExpression __similarityGroupingId)
If there are any component requests with identical IDs then these requests will be grouped.
|
void |
setStatus(javax.el.ValueExpression __status)
ID (in format of call UIComponent.findComponent()) of Request status component
Setter for status
|
void |
setTimeout(javax.el.ValueExpression __timeout)
Response waiting time on a particular request.
|
getExpressionFactory, isValueReference, setActionListenerProperty, setActionProperty, setBooleanProperty, setBooleanProperty, setDoubleProperty, setDoubleProperty, setFloatProperty, setFloatProperty, setIntegerProperty, setIntegerProperty, setLongProperty, setLongProperty, setProperty, setProperty, setStringProperty, setStringProperty, setValueChangedListenerProperty, setValueProperty, setValueProperty
setActionListenerProperty, setActionProperty, setConverterProperty, setRowKeyConverterProperty, setValidatorProperty, setValueChangeListenerProperty
createComponent, getELContext, hasBinding, setBinding, setRendered
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
public void setAction(javax.el.MethodExpression __action)
action
- - new valuepublic void setActionListener(javax.el.MethodExpression __actionListener)
actionListener
- - new valuepublic void setAjaxSingle(javax.el.ValueExpression __ajaxSingle)
ajaxSingle
- - new valuepublic void setBypassUpdates(javax.el.ValueExpression __bypassUpdates)
bypassUpdates
- - new valuepublic void setData(javax.el.ValueExpression __data)
data
- - new valuepublic void setEventsQueue(javax.el.ValueExpression __eventsQueue)
eventsQueue
- - new valuepublic void setFocus(javax.el.ValueExpression __focus)
focus
- - new valuepublic void setIgnoreDupResponses(javax.el.ValueExpression __ignoreDupResponses)
ignoreDupResponses
- - new valuepublic void setImmediate(javax.el.ValueExpression __immediate)
immediate
- - new valuepublic void setLimitToList(javax.el.ValueExpression __limitToList)
limitToList
- - new valuepublic void setName(javax.el.ValueExpression __name)
name
- - new valuepublic void setOnbeforedomupdate(javax.el.ValueExpression __onbeforedomupdate)
onbeforedomupdate
- - new valuepublic void setOncomplete(javax.el.ValueExpression __oncomplete)
oncomplete
- - new valuepublic void setProcess(javax.el.ValueExpression __process)
process
- - new valuepublic void setReRender(javax.el.ValueExpression __reRender)
reRender
- - new valuepublic void setRequestDelay(javax.el.ValueExpression __requestDelay)
requestDelay
- - new valuepublic void setSimilarityGroupingId(javax.el.ValueExpression __similarityGroupingId)
similarityGroupingId
- - new valuepublic void setStatus(javax.el.ValueExpression __status)
status
- - new valuepublic void setTimeout(javax.el.ValueExpression __timeout)
timeout
- - new valuepublic void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.faces.webapp.UIComponentELTag
protected void setProperties(javax.faces.component.UIComponent component)
setProperties
in class javax.faces.webapp.UIComponentELTag
public java.lang.String getComponentType()
getComponentType
in class javax.faces.webapp.UIComponentTagBase
public java.lang.String getRendererType()
getRendererType
in class javax.faces.webapp.UIComponentTagBase
Copyright © 2013. All Rights Reserved.