Actually, I just noticed the visibleOnUserRole and enabledOnUserRole properties of the tabbedPane and panelTab tags.  Should I be using this instead?  I have no idea what 'roles' means in the JSF context though.

Thanks,
-Elam

On 2/22/06, Elam Daly < [EMAIL PROTECTED]> wrote:
Hi all,

I have paneltab in which the various tabs need to be rendered based on credentials supplied by the user.  The render status for the various tabs are kept in a boolean[], with the array index set to the tab number and the rendered property on the tabs is:

rendered="#{MyBean.displayPage[ tabNumber ]}" etc.. where tabnumber is 1,2,3....

Now, the tabs that are allowed to be rendered show up okay, but their content does not.  It's only *after* I click the tab that the content shows.  This sounds like a lifecycle problem.

Any help is appreciated.

-Elam

Reply via email to