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

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Mon Aug 23 08:53:12 EDT 2010


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

Nick Belaevski reassigned RF-9054:
----------------------------------

    Assignee: Nick Belaevski  (was: Andrey Markhel)


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