Issue Details (XML | Word | Printable)

Key: SM-17
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Matt Raible
Reporter: Matt Raible
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Struts Menu

Navigation based on TWO menus

Created: 08/May/06 11:22 PM   Updated: 10/May/06 12:53 AM   Resolved: 10/May/06 12:53 AM
Component/s: Displayers
Affects Version/s: 2.3
Fix Version/s: 2.4


 Description  « Hide
Moved from sf.net https://sourceforge.net/tracker/index.php?func=detail&aid=1100532&group_id=48726&atid=453975:

I would like to use 2 menus for the navigation of our
site: a tabbed menu on top that selects the different
sections and within each section another menu (i.e.
expandable DHTML list) that selects inner pages.
I tried to define that configuration and I can display
the two menus but the dyanamic behavior does not work
properly. It looks like there are some confilcts
between the names used in the two menus (id in the div
tag, javascripts and css).
Is that foreseen to generate more than one menu (active
at the same time)?
Is there a workaround that I could implment?

Matt Raible added a comment - 10/May/06 12:53 AM
I added an "id" attribute that can be used on userMenuDisplayer tag:

<menu:useMenuDisplayer name="ListMenu" id="foo"/>

I also removed the hard-coded "menuDiv" id given to expandable and drop-down DHTML lists. No id will be given by default, but if one is provided, it will be added.

Matt Raible made changes - 10/May/06 12:53 AM
Field Original Value New Value
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]