Set up your own user role managed bean.  Give it a boolean property and tie it to the rendered attribute of the commandLink.
 

 
On 9/27/05, Eduardo Leite <[EMAIL PROTECTED]> wrote:
Guys,
 
just to know if I'm not reinventing the wheel...
 
I need a property to tell a commandLink component when it needs to print the <a href="" tag or not. I know that enableOnUserRole does this, but it is tied to the J2EE security model.
I need something simpler, just like the disabled property for the commandButton component. Is there anything like this implemented anywhere on MyFaces?
 
Thanks in advance,
________________________________________
Eduardo Bastos Leite
Analista de Sistemas
QuickMind Tecnologia em Conhecimento
Tel.: +55 21 2524-2956 Ext. 215
Cel.: +55 21 9953-2223
 

Reply via email to