]
Nick Belaevski resolved RF-9054.
--------------------------------
Resolution: Done
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
Assignee: Nick Belaevski
Fix For: 4.0.0.Milestone2
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: