struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Jesse <alexander.je...@csfs.com>
Subject RE: menu displayer
Date Thu, 23 Aug 2001 08:43:01 GMT
How about creating an object (to be stored within the session-context), that
will manage the contents of the menu and use a tag to format it. The array-
version is easier to set up, but the generalization/reutilization might be
better with a specialized class...

It might even be possible to create a "standard" struts implementation, which
could be exnteded by the individual applications to provide additional 
functionality (like permission-handling,...)

how about it?
Alexander Jesse

-----Original Message-----
From: Dewhirst.M@UCLES.org.uk [mailto:Dewhirst.M@UCLES.org.uk]
Sent: Thursday, August 23, 2001 10:36 AM
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.

**********************************************************=

Mime
View raw message