collapsiblePanel does not reevaluate expanded attribute on ajax render
----------------------------------------------------------------------

                 Key: RF-11546
                 URL: https://issues.jboss.org/browse/RF-11546
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component
    Affects Versions: 4.0.0.Final
            Reporter: u j


If a rich:collapsiblePanel is rerendered via ajax, the expanded attribute is 
not re-evaluated.

<rich:collapsiblePanel  toggleListener="#{bean.toggle}"
expanded="#{bean.open}" switchType="ajax"
onswitch="#{bean.render ? 'load();' : ''} >

The bean.render method is called, the open method is not (verified with the 
debugger).
So e.g. the panel is opened by click, some other action changes the (session) 
bean property open to false and then an action ajax-rerenders the panel, the 
panel is still open instead of closed.
Only on a page GET reload is the panel closed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to