public abstract class AbstractPoll extends BasicActionComponent implements AjaxCommandProps, BypassProps
The <a4j:poll> component allows periodical sending of Ajax requests to the server. It is used for repeatedly updating a page at specific time intervals.
Modifier and Type | Field and Description |
---|---|
static String |
BEFOREDOMUPDATE |
static String |
BEGIN |
static String |
COMPLETE |
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
ON_BEFOREDOMUPDATE |
static String |
ON_BEGIN |
static String |
ON_COMPLETE |
static String |
ON_TIMER |
static String |
TIMER |
Constructor and Description |
---|
AbstractPoll() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getInterval()
Specifies the time in milliseconds between requests.
|
abstract String |
getOntimer()
The client-side script method to be called after the timer counts down, but before the Ajax request is initiated
|
abstract boolean |
isEnabled()
Enables/disables polling to the server.
|
getData, getExecute, getOnbeforedomupdate, getOnbegin, getOncomplete, getOnerror, getRender, getStatus, isBypassUpdates, isLimitRender, isResetValues, setExecute, setRender
queueEvent
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isResetValues
getExecute, getOnbegin, getStatus
getData, getOnbeforedomupdate, getOncomplete, getRender, isLimitRender
getOnerror
isBypassUpdates
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String TIMER
public static final String ON_TIMER
public static final String BEGIN
public static final String ON_BEGIN
public static final String COMPLETE
public static final String ON_COMPLETE
public static final String BEFOREDOMUPDATE
public static final String ON_BEFOREDOMUPDATE
public abstract int getInterval()
public abstract boolean isEnabled()
public abstract String getOntimer()
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.