i'm using primefaces 5.2 . i want to use an accordionpanel with tabs dynamically rendered. my xhtml code :
<p:accordionPanel value="#{rechercheBean.structures}" dynamic="true" cache="false" var ="structure">
<p:tab title="#{structure.nomStructure} #{structure.existe?'existe':'n existe pas'}" rendered="#{structure.existe}" >
</p:tab>
</p:accordionPanel>
the 'existe' value is stored in a boolean, my problem is that it seemed to be never used in the rendered attribute. I 've got this result. tab rendered I tried to write it the directly with the same result: the tab is always rendered.
Could you please help me?