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

Andrey Markhel (JIRA) jira-events at lists.jboss.org
Fri Sep 10 15:02:49 EDT 2010


     [ https://jira.jboss.org/browse/RF-9272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Markhel resolved RF-9272.
--------------------------------

    Resolution: Done


Fixed

> 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
>            Assignee: Andrey Markhel
>             Fix For: 4.0.0.Milestone3
>
>
> 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