Author: dmorozov
Date: 2008-11-19 09:31:29 -0500 (Wed, 19 Nov 2008)
New Revision: 11236
Modified:
trunk/sandbox/samples/queue-sample/src/main/webapp/pages/events.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-4899
Modified: trunk/sandbox/samples/queue-sample/src/main/webapp/pages/events.xhtml
===================================================================
--- trunk/sandbox/samples/queue-sample/src/main/webapp/pages/events.xhtml 2008-11-19
14:11:12 UTC (rev 11235)
+++ trunk/sandbox/samples/queue-sample/src/main/webapp/pages/events.xhtml 2008-11-19
14:31:29 UTC (rev 11236)
@@ -91,10 +91,13 @@
<a4j:commandLink onclick="resetCells()" value="Oncomplete
component client handler" eventsQueue="queue"
onbeforedomupdate="request.options.oncomplete =
handlers['component:oncomplete']" data="data" />
- <a4j:commandLink onclick="resetCells(); A4J.AJAX.onError = undefined;"
value="Onerror" eventsQueue="queue" timeout="1"
data="data" />
+ <a4j:commandLink onclick="resetCells(); A4J.AJAX.onError = undefined;"
value="Queue only onerror" eventsQueue="queue" timeout="1"
data="data"
+ oncomplete="handlers['component:oncomplete'](request, event,
data)"
+ onbeforedomupdate="handlers['component:onbeforedomupdate'](request,
event, data)" />
- <a4j:commandLink onclick="resetCells(); A4J.AJAX.onError =
handlers['component:onerror'];" value="Component onerror"
eventsQueue="queue"
- timeout="1" data="data" />
+ <a4j:commandLink onclick="resetCells(); A4J.AJAX.onError =
handlers['component:onerror'];" value="Component and queue onerror"
eventsQueue="queue"
+ oncomplete="handlers['component:oncomplete'](request, event,
data)"
+ onbeforedomupdate="handlers['component:onbeforedomupdate'](request,
event, data)" timeout="1" data="data" />
<a4j:commandLink onclick="resetCells()" value="Both component
handlers" eventsQueue="queue"
oncomplete="handlers['component:oncomplete'](request, event,
data)"
@@ -107,10 +110,13 @@
<a4j:commandLink onclick="resetCells()" value="Oncomplete
component client handler"
onbeforedomupdate="request.options.oncomplete =
handlers['component:oncomplete']" data="data" />
- <a4j:commandLink onclick="resetCells(); A4J.AJAX.onError = undefined;"
value="Onerror" timeout="1" data="data" />
+ <a4j:commandLink onclick="resetCells(); A4J.AJAX.onError = undefined;"
value="Queue only onerror" timeout="1" data="data"
+ oncomplete="handlers['component:oncomplete'](request, event,
data)"
+ onbeforedomupdate="handlers['component:onbeforedomupdate'](request,
event, data)" />
- <a4j:commandLink onclick="resetCells(); A4J.AJAX.onError =
handlers['component:onerror'];" value="Component onerror"
- timeout="1" data="data" />
+ <a4j:commandLink onclick="resetCells(); A4J.AJAX.onError =
handlers['component:onerror'];" value="Component and queue onerror"
+ oncomplete="handlers['component:oncomplete'](request, event,
data)"
+ onbeforedomupdate="handlers['component:onbeforedomupdate'](request,
event, data)" timeout="1" data="data" />
<a4j:commandLink onclick="resetCells()" value="Both component
handlers"
oncomplete="handlers['component:oncomplete'](request, event,
data)"