I think you need to change MenuRepository.java:
'menus' is using FastHashMap currently. change it to
Linked...

--- Damien GUERIN <[EMAIL PROTECTED]>
wrote:

> Hi,
> 
> in my menu-config.xml file, i've got some menus but
> these menus aren't 
> known. So in my jsp, i use the following code:
> <menu-el:useMenuDisplayer name="CoolMenu">
> <c:forEach var="menu"
> items="${repository.topMenus}">
>       <menu-el:displayMenu name="${menu.name}"/>
> </c:forEach>  
> </menu-el:useMenuDisplayer>
> 
> However, i noticed, this collection aren't sorted...
> How sort it by name 
> (for example).
> 
> I hnow it's possible by java code in my jsp but this
> solution is rather 
> bad for me. I tried to find a taglib to sort
> collection but for the 
> moment i didn't find a taglib with an good license
> (for me). I want 
> avoid GPL license.
> 
> Any idea?
> 
> Thanks.
> 
> 
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems?  Stop!  Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the 
> web.  DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> struts-menu-user mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/struts-menu-user
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to