[richfaces-issues] [JBoss JIRA] Created: (RF-10974) a4:poll data being called twice
Martin Sadowski (JIRA)
jira-events at lists.jboss.org
Fri May 6 11:56:18 EDT 2011
a4: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:
@ManagedBean
@SessionScoped
public class TestBean {
int i = 0;
public String getPollData() {
System.out.println("getPollData()");
return "" + i++;
}
}
test.xhtml:
<a4j:poll interval="10000" data="#{testBean.pollData}" oncomplete="alert(event.data);"/>
Result:
1
3
5
...
-> Twice every polling cycle.
--
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