struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Raible <matt_rai...@yahoo.com>
Subject RE: menu displayer
Date Thu, 23 Aug 2001 12:25:25 GMT
I think this is what you want:

http://husted.com/about/struts/struts-menu.zip

You could hide/show items using <logic:present
role="role1,role2">link</logic:present>

You might have to change some things in the source for this one though.

Matt

--- Mike Dewhirst <Dewhirst.M@UCLES.org.uk> wrote:
> I meant writing out an array of items and subitems within a JavaScript
> function :), so the menus would be generated dynamically in DHTML.
> 
> -----Original Message-----
> From: Mike Dewhirst [mailto:Dewhirst.M@UCLES.org.uk]
> Sent: 23 August 2001 09:36
> To: 'struts-user@jakarta.apache.org'
> Subject: RE: menu displayer
> 
> 
> I would recommend doing something like this with a JSP/Servlet (in Struts)
> generating arrays of items and subitems, so you could decide in the Action
> Servlet what to put and what not to put in the arrays.
> 
> Does that make sense?
> 
> 
> -----Original Message-----
> From: Pritish Kanagalekar [mailto:pkanagalekar@ptc.com]
> Sent: 23 August 2001 17:30
> To: struts-user@jakarta.apache.org
> Subject: menu displayer
> 
> Dear all,
> 
> I would like to know if anyone has done,using struts, an implementation of a
> menu displayer either collapsable or heirarchial
> that will look at user permissions.Based on the users permissions,it should
> display appropriate menu components
> Any information in this regard is welcome.
> 
> thanks 
> Pritish
> 
> 
> =**********************************************************
> 
> If you are not the intended recipient, employee or agent responsible for
> delivering the message to the intended recipient, you are hereby notified
> that any dissemination or copying of this communication and its attachments
> is strictly prohibited.
> 
> If you have received this communication and its attachments in error, please
> return the original message and attachments to the sender using the reply
> facility on e-mail.
> 
> Internet communications are not secure and therefore the UCLES Group does
> not accept legal responsibility for the contents of this message.  Any views
> or opinions presented are solely those of the author and do not necessarily
> represent those of the UCLES Group unless otherwise specifically stated.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses although this does not
> guarantee that this email is virus free.
> 
> **********************************************************=


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Mime
View raw message