[richfaces-issues] [JBoss JIRA] Created: (RF-9054) a4j:poll doesn't stop when enabled is set to 'false'

Max Katz (JIRA) jira-events at lists.jboss.org
Fri Aug 13 19:38:14 EDT 2010


a4j:poll doesn't stop when enabled is set to 'false'
----------------------------------------------------

                 Key: RF-9054
                 URL: https://jira.jboss.org/browse/RF-9054
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-push/poll
    Affects Versions: 4.0.0.Milestone1
            Reporter: Max Katz


Page:
<a4j:poll interval="1000" id="poll" action="#{pollBean.count}"
			enabled="#{pollBean.pollEnabled}" />

counter = 5;
public void count() {
		counter--;
		if (counter == 0) {
			pollEnabled = false;
		}
}

Polling doesn't stop when counter=0, unless a4j:poll is inside <a4j:outputPanel ajaxRendered="true">. 

It worked fine in RichFaces 3.3

-- 
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