This content has been marked as final.
Show 1 reply
-
1. Re: Toggle Panel Appearance
ilya_shaikovsky Apr 17, 2009 4:10 PM (in response to oyesiji77)in this case you even not need for special component. just use rendered attribute bound to some model boolean property. and manage this property in the button action.
B.t.w. do not forget that reRendering of conditionally rendered component is forbidden and should be performed by reRendering its parent (e.g. a4j:outputPanel)
Also the bean which kepts such properties should be session scoped.
For sure you could use togglePanel for that. Just define to facets empty and with required content and place corresponding toggleControl on the page.