I have a menu with the following items
MyDetails
UsersList

I want the MyDetails item to be shown all the time and the UsersList to show
only when the user has the roles admin and manager. I am assuming I have a
method called checkAuthorisation(String[]). I know the syntax below is
incorrect but I am looking for something similar to this. Has anyone done
this ? Any ideas ?

<t:if test="checkAuthorisation(new String[]{'admin', 'manager'})">
   UsersList
</t:if>
-- 
View this message in context: 
http://www.nabble.com/Hide-menu-items-tp15975283p15975283.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to