jsf - How to get total Tab count of Tabview -


i have dynamic primefaces tabview. how can find total visible tab count? have tabs rendered property binded variables. want total rendered tab count.

<p:tab id="googleid" closable="true" title="google" rendered="#{mycontroller.rendergoogletab}"/>  <p:tab id="facebookid" closable="true" title="facebook" rendered="#{mycontroller.renderfacebooktab}"/> 

a map resolved problem. count "true" values in map. private map tabrenders = new hashmap();


Comments

Popular posts from this blog

c# - Farseer ContactListener is not working -

Automatically create pages in phpfox -

database - one php page with different contents and urls -