public class AjaxPollTag
extends org.ajax4jsf.webapp.taglib.UIComponentTagBase
bodyContent, pageContext, UNIQUE_ID_PREFIX
Constructor and Description |
---|
AjaxPollTag() |
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 |
setEnabled(javax.el.ValueExpression __enabled)
Enables/disables polling.
|
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. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
but just allows to avoid unnecessary updates on the client side if the response isn't actual now
Setter for ignoreDupResponses
|
void |
setImmediate(javax.el.ValueExpression __immediate)
True means, that the default ActionListener should be executed
immediately (i.e. during Apply Request Values phase of the
request processing lifecycle), rather than waiting until the
Invoke Application phase
Setter for immediate
|
void |
setInterval(javax.el.ValueExpression __interval)
Interval (in ms) for call poll requests.
|
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 |
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 |
setOnsubmit(javax.el.ValueExpression __onsubmit)
JavaScript code for call before submission of ajax
event
Setter for onsubmit
|
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 |
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)
Timeout (in ms) for request
Setter for timeout
|
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 setEnabled(javax.el.ValueExpression __enabled)
enabled
- - 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 setInterval(javax.el.ValueExpression __interval)
interval
- - new valuepublic void setLimitToList(javax.el.ValueExpression __limitToList)
limitToList
- - new valuepublic void setOnbeforedomupdate(javax.el.ValueExpression __onbeforedomupdate)
onbeforedomupdate
- - new valuepublic void setOncomplete(javax.el.ValueExpression __oncomplete)
oncomplete
- - new valuepublic void setOnsubmit(javax.el.ValueExpression __onsubmit)
onsubmit
- - new valuepublic void setProcess(javax.el.ValueExpression __process)
process
- - new valuepublic void setReRender(javax.el.ValueExpression __reRender)
reRender
- - 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 © 2014. All Rights Reserved.