Poll: onbegin, onbeforedomupdate and oncomplete don't work
----------------------------------------------------------
Key: RF-9272
URL:
https://jira.jboss.org/browse/RF-9272
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.0.0.Milestone2
Reporter: Pavol Pitonak
The following page correctly updates time and counter every 5 seconds but no alerts are
displayed.
<h:form>
<h:panelGroup id="pollPanel">
<a4j:poll id="poll"
action="#{a4jPollBean.increaseCounterAction}"
enabled="true"
interval="5000"
onbeforedomupdate="alert('onbeforedomupdate')"
onbegin="alert('onbegin')"
oncomplete="alert('oncomplete')"
<a4j:ajax event="timer"
render="time" />
</a4j:poll>
</h:panelGroup>
<h:panelGroup id="time">
<h:outputText value="Server: " />
<h:outputText id="serverDate"
value="#{a4jPollBean.date}"/>
***
<h:outputText value="Counter: " />
<h:outputText id="outputCounter"
value="#{a4jPollBean.counter}"/>
</h:panelGroup>
</h:form>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira