Hi Matt,

That did the trick! 

Thanks,
Mark

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt
Raible
Sent: Monday, December 06, 2004 11:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [struts-menu] Menu Order

Mark Fleischman wrote:

> Hello,
>
> I am in process of adapting Matt's dynamic database driven example and 
> I am having issues with the display order of the resulting tabbed 
> menus. I am using the velocity tab based example to display my menus.
>
> So the question is: Is there a way to force the display order of these 
> top tabbed menus?
>
> Currently, I am inserting in the Menu Components in the proper order - 
> however the menus are displaying reversed. I have also tried re-naming 
> the menu component's name in alphabetical order by placing a, b, c in 
> front of the menu names. That reshuffled the menus at least put my 
> first menu first - however the order of the other menus are not 
> properly set. Any suggestions would be greatly appreciated.
>
> Thanks,
> Mark
>
The menus are stored in a FastHashMap, which is likely causing the 
problem. You could change this (Maybe a FastTreeMap) in the 
MenuRepository.java class.

Matt



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
struts-menu-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
struts-menu-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to