This content has been marked as final.
Show 1 reply
-
1. Re: rich:collapsiblePanel
michpetrov Jul 21, 2015 10:39 AM (in response to lordalucard7545)We have rich:accordion which is set up to work like that, otherwise you can use @onswitch and collapse the second panel when the first one expands, and vice versa:
function collapse(event, id) { if (event.rf.data.isExpanded == 'true') { RichFaces.component(id).collapse() } }
<rich:collapsiblePanel id="panel1" onswitch="collapse(event, 'form:panel2'" …>