By default accordion panel opens first tab only, in case of multiple tabs. I want to open custom index tabs by default.
In case of 3 tabs in accordion panel, I tried following and it worked.
<p:accordionPanel multiple="true" activeIndex="1,2">
accordion panel tabs starts with index 0, so to open 2nd and 3rd tab by default use "1,2" in activeIndex attribute.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With