]
Brian Leathem updated RF-11546:
-------------------------------
Fix Version/s: 4.2.0.Tracking
(was: 4.1.0.Tracking)
Forum Reference:
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-panels-layout-themes
Affects Versions: 4.0.0.Final
Reporter: u j
Fix For: 4.2.0.Tracking
If a rich:collapsiblePanel is rerendered via ajax, the expanded attribute is not
re-evaluated.
{code}
<rich:collapsiblePanel toggleListener="#{bean.toggle}"
expanded="#{bean.open}" switchType="ajax"
onswitch="#{bean.render ? 'load();' : ''} >
{code}
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: