[
https://jira.jboss.org/jira/browse/RF-7473?page=com.atlassian.jira.plugin...
]
Michael Sorokin commented on RF-7473:
-------------------------------------
it's already documented in the guide how to reference the "queue" object and
the example is given.
quote
___________
Thus queue is be accessible using request.queue. And the element which was a source of the
request is available using this.
Example:
...
<h:form >
<a4j:queue oncomplete="alert(request.queue.getSize())"
requestDelay="1000" />
<h:inputText value="#{bean.a}">
<a4j:support event="onkeyup" />
</h:inputText>
<h:selectBooleanCheckbox value="#{bean.check}">
<a4j:support event="onchange"/>
</h:selectBooleanCheckbox>
</h:form>
...
In this example you can see how the number of requests waiting in the queue change. You
will get a message with the number of the requests in the queue.
___________
end of quote
Queue: section update. getting a reference of a queue object
------------------------------------------------------------
Key: RF-7473
URL:
https://jira.jboss.org/jira/browse/RF-7473
Project: RichFaces
Issue Type: Task
Components: core
Affects Versions: 3.3.1
Reporter: Svetlana mukhina
Assignee: Michael Sorokin
Fix For: 3.3.2.CR1
Original Estimate: 1 hour
Remaining Estimate: 1 hour
Add info to Queue section about how to get a reference of a queue object in order to
execute the calls
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira