mercredi 23 septembre 2015

Dynamic TabView primefaces, tab rendered feature doesn't work

i have a "problem" with a tab component for tabView from Primefaces. I did a tabView with dynamic tabs based on a array.

But some tabs can't be rendered, based on a boolean attribute of the object from that array .

I tried rendered="true" or "false" but nothing happens (on tab). I use rendered="#{_item.show}" i tried use disabled feature and works fine, but is not my need.

Someone have an idea to how to solve this issue?

check my code:

<p:tabView id="tabs" value="#{myBean.list}" var="_item"  orientation="left" style="height:800px!important;" >

        <p:tab title="#{_item}" rendered="#{_item.show}" >




Aucun commentaire:

Enregistrer un commentaire