In the case of 3 tabs on the accordion panel, I tried to follow and worked.
<p:accordionPanel multiple="true" activeIndex="1,2">
accordion panel tabs start at index 0, so use β1,2β in the activeIndex attribute to open the 2nd and 3rd tabs by default.
source
share