[richfaces-issues] [JBoss JIRA] Commented: (RF-9272) Poll: onbegin, onbeforedomupdate and oncomplete don't work

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Mon Aug 30 11:17:12 EDT 2010


    [ https://jira.jboss.org/browse/RF-9272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12547694#action_12547694 ] 

Pavol Pitonak commented on RF-9272:
-----------------------------------

There is the same problem also in a4j:push.

> 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

        


More information about the richfaces-issues mailing list