On Mon, 2002-04-08 at 08:12, Jon.Ridgway wrote: 
> Hi All,
> 
> I was wondering if there are any plans add the following to the Struts menu:
> 
> -Support for roles
I don't currently have plans to support roles.  However, I am working
out an implementation for generically supporting permission checking. 
This could easily be tied into checking roles as well.  I'll have to
think about it some more. 

> -Support for locales (might already be their can't see how to use however)
Localization is already supported.  However, it does not automatically
use the main MessageResources used in Struts apps (keyed by
Action.MESSAGES_KEY).  At this point, you need to pass the attribute key
of the MessageResources you want to use.  For example: 

<menu:useMenuDisplayer 
     name="CoolMenus" bundle="<%=Action.MESSAGES_KEY%>"> 

Check the example menu application. 

> -Support for struts-config forwards.
> 
Sounds like a good idea.  I'll put it on the ToDo list. 



You can check out the latest version of StrutsMenu at: 

https://sourceforge.net/projects/struts-menu/

The latest release is 1.1beta.  The most significant changes are the
implementation of a Struts PlugIn and support for displaying CoolMenus3
dynamic menus. 

There will probably be some significant changes comming soon.  I may end
up skipping to a 2.0 release, but we'll see. 

I'm only working on this in my spare time, so please excuse the lack of
content on the sourceforge site. 

Scott Sayles 


> Jon Ridgway
> www.upco.co.uk
> 
> 
> -----Original Message-----
> From: Vaddiyar, Raghuramudu [mailto:[EMAIL PROTECTED]] 
> Sent: 08 April 2002 11:49
> To: 'Struts Users Mailing List'
> Subject: RE: conditional iterate (3)
> 
> Better avoid array elements with same "compname" ...
> 
> in otherwords create the array elements with unique "compname" ..avoid
> elements
> with same "compname"...
> 
> -----Original Message-----
> From: Peter Cnops [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 08, 2002 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: conditional iterate (3)
> 
> 
> Hi,
> 
> I made a typo in my request (closing the bean tag), but thas is not the main
> problem.
> 
> What I want to do is:
> 1. iterate through some orderlines
> 2. if 'compname' of this orderline is not equal to 'compname' of the
> previous orderline, write the compname, else do not.
> 
> How do I realise this? Do I have to declare a variable?
> 
> <logic:iterate id="element" name="orderlinebean" type="com.test.Orderline">
> <logic:notEqual name="element" property="compname" value="-->if the compname
> is the same as the previous line, don't write, else write the compname">
>   <tr>
>      <td width="23%">&nbsp;</td>
>      <td width="18%"><bean:write name="element" property="compname"/></td>
>      <td width="59%"><bean:write name="element" property="number"/></td>
>   </tr>
> </logic:notEqual>
> </logic:iterate>
> 
> 
> Peter Cnops
> Project Management - MediaTower
> Digital Photography - PrePress - Digital Printing - Internet Services
> Veldkant 29, B-2550 Kontich
> Tel. 03 450 81 00 - Fax 03 450 81 09
> http://www.mediatower.be
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> ****************************************************************************
> The content of this e-mail is intended only for the confidential use of the
> person addressed. If you have received this message in error, please notify
> us immediately by electronic mail, by telephone or by fax at the above num-
> bers.
> 
> E-mail communications are not secure and therefore we do not accept any res-
> ponsibility for the confidentiality or altered contents of this message.
> 
> Please be aware that SIS Group and its subsidiary companies cannot accept
> any orders or other legally binding correspondence with a participant as
> part of an E-mail. The views expressed above are not necessarily those held
> by SIS Group and its subsidiary companies and not binding for them.
> ****************************************************************************
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


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

Reply via email to