JBoss.orgCommunity Documentation

6.20.  < a4j:queue >

The <a4j:queue> component creates queues that other components can reference and use.

Table 6.39. a4j : queue attributes

Attribute NameDescription
bindingThe attribute takes a value-binding expression for a component property of a backing bean
disableddisabled
idEvery component may have a unique id that is automatically created if omitted
ignoreDupResponsesignoreDupResponses
namename
onbeforedomupdateonbeforedomupdate
oncompleteoncomplete
onerroronerror
onsizeexceededonsizeexceeded
onsubmitonsubmit
requestDelayrequestDelay
sizesize
sizeExceededBehaviorsizeExceededBehavior
timeouttimeout

Table 6.40. Component identification parameters

NameValue
component-familyorg.ajax4jsf.Queue
component-classorg.ajax4jsf.component.html.HtmlQueue
renderer-typeorg.ajax4jsf.QueueRenderer
tag-classorg.ajax4jsf.taglib.html.jsp.QueueTag

Here is the simplest way for a component creation on a page.

Example:


<h:form>
       <a4j:queue name="fooQueue" ... />
</h:form>

Example:

import org.ajax4jsf.component.html.HtmlQueue;            

...
HtmlQueue myQueue = new HtmlQueue();
...

Here you can see the example of <a4j:queue> usage and sources for the given example.