RE: Menu Order

"Mark Fleischman" <mark-t4aQvBRgbK2pMvtRNYi6pvGir+7UJNqdzKIQ5oDXWBQ@public.gmane.org>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
Hi Matt,

That did the trick! 

Thanks,
Mark

-----Original Message-----
From: struts-menu-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:struts-menu-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Matt
Raible
Sent: Monday, December 06, 2004 11:48 AM
To: struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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
struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.