public abstract class AbstractAttachQueue
extends javax.faces.component.UIComponentBase
implements javax.faces.event.ComponentSystemEventListener
The <a4j:attachQueue> behavior is used together with a <a4j:queue> component to further customize queuing for particular components and behaviors. The <a4j:attachQueue> behavior can override the scope-wide queue settings for an individual component, or attach specific requests to a queue.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
AbstractAttachQueue() |
Modifier and Type | Method and Description |
---|---|
void |
associateWith(AjaxBehavior behavior)
Establishes association between attachQueue component and behavior passed as method argument.
|
void |
associateWith(javax.faces.component.UIComponent component)
Establishes association between attachQueue component and component passed as method argument.
|
String |
getFamily() |
abstract String |
getName()
Identify the name of the destination queue
|
abstract String |
getOnrequestdequeue()
The client-side script method to be called after the request is removed from the queue
|
abstract String |
getOnrequestqueue()
The client-side script method to be called when the request is added to the queue
|
String |
getQueueId() |
abstract int |
getRequestDelay()
Attribute defines the time (in ms) the request will be waiting in the queue before it is ready to be sent.
|
abstract String |
getRequestGroupingId()
Specify the groupingId to process multiple requests together.
|
abstract boolean |
isIgnoreDupResponses()
Attribute allows you to ignore an Ajax response produced by a request if the newest 'similar' request is in the
queue already.
|
void |
processEvent(javax.faces.event.ComponentSystemEvent event) |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public abstract String getRequestGroupingId()
public abstract int getRequestDelay()
public abstract boolean isIgnoreDupResponses()
public abstract String getOnrequestqueue()
public abstract String getOnrequestdequeue()
public abstract String getName()
public String getQueueId()
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
public void associateWith(javax.faces.component.UIComponent component)
Establishes association between attachQueue component and component passed as method argument.
Association can be established either immediately just before returning from this method, or postponed until attachQueue component will be added to view.
component
- public void associateWith(AjaxBehavior behavior)
Establishes association between attachQueue component and behavior passed as method argument.
Association can be established either immediately just before returning from this method, or postponed until attachQueue component will be added to view.
behavior
- public void processEvent(javax.faces.event.ComponentSystemEvent event) throws javax.faces.event.AbortProcessingException
processEvent
in interface javax.faces.event.ComponentSystemEventListener
processEvent
in class javax.faces.component.UIComponent
javax.faces.event.AbortProcessingException
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.