[richfaces-issues] [JBoss JIRA] Updated: (RF-10974) a4j:poll data being called twice

Martin Sadowski (JIRA) jira-events at lists.jboss.org
Mon May 9 06:04:18 EDT 2011


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

Martin Sadowski updated RF-10974:
---------------------------------

    Summary: a4j:poll data being called twice  (was: a4:poll data being called twice)


> a4j:poll data being called twice
> --------------------------------
>
>                 Key: RF-10974
>                 URL: https://issues.jboss.org/browse/RF-10974
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 4.0.0.Final
>         Environment: Tomcat 7.0.12
>            Reporter: Martin Sadowski
>
> Bean:
> {code}
> @ManagedBean
> @SessionScoped
> public class TestBean {
>   
>   int i = 0;
>   
>   public String getPollData() {
>     System.out.println("getPollData()");
>     return "" + i++;
>   }
> }
> {code}
> test.xhtml:
> {code}
> <a4j:poll interval="10000" data="#{testBean.pollData}" oncomplete="alert(event.data);"/>
> {code}
> Result:
> {code}
> 1
> 3
> 5
> ...
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list