[
https://issues.jboss.org/browse/RF-11546?page=com.atlassian.jira.plugin.s...
]
Pavol Pitonak commented on RF-11546:
------------------------------------
I could not reproduce in neither 4.3.4.Final nor in 5.0.0-SNAPSHOT. This issue was
reported for 4.0.0.Final so probably it's outdated.
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
Assignee: Pavol Pitonak
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
For more information on JIRA, see:
http://www.atlassian.com/software/jira