struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "El Harouchi, Jaafar [IT]" <>
Subject RE: Struts Menu question
Date Tue, 17 Jun 2003 12:00:58 GMT
You can definitely do that.
Your menu definitions are in the xml configuration file, but the logic for
determining which ones to display and how to display them is handled by the
MenuDisplayers.  The MenuDisplayers can have a PermissionsAdapter which
encapsulates entitlement logic.

Look at the Permissions example at:

The example code is available through:

I recommend users to start sending Struts Menu questions to: 
	struts-menu-user (subscribe via SourceForge)


-----Original Message-----
From: Filip Polsakiewicz []
Sent: Tuesday, June 17, 2003 4:02 AM
To: Struts Users Mailinglist
Subject: Struts Menu question

i'm pretty new to Struts Menu and have one simple question before i start:

is it possible to display menuitems depending on some conditions. e.g. only
displaying an admin-menu if the user is logged on as Administrator?

thanks in advance

Filip Polsakiewicz

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message