public abstract class AbstractPoll extends AbstractActionComponent
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.
|
isBypassUpdates, queueEvent, setBypassUpdatesaddActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValueaddClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic 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 © 2012 JBoss by Red Hat. All Rights Reserved.