struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "El Harouchi, Jaafar [IT]" <jaafar.elharou...@citigroup.com>
Subject RE: Struts Menu question
Date Tue, 17 Jun 2003 12:00:58 GMT
Filip,
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: 
	http://www.raibledesigns.com/struts-menu/index.jsp

The example code is available through:
	http://sourceforge.net/projects/struts-menu/

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

HTH,
jaafar



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


Hi,
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message