Issue Details (XML | Word | Printable)

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

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

'oCMenu' name is hardcoded in the CoolMenuDisplayer4

Created: 17/Apr/06 02:55 PM   Updated: 10/May/06 12:41 PM   Resolved: 10/May/06 12:58 AM
Component/s: Displayers
Affects Version/s: 2.3
Fix Version/s: 2.4


 Description  « Hide
Multiple CoolMenu4s cannot be used on the same page as the name of the menu 'oCMenu' is hardcoded in the CoolMenuDisplayer4.java

Matt Raible made changes - 08/May/06 05:19 PM
Field Original Value New Value
Component/s Displayers [ 10051 ]
Affects Version/s 2.3 [ 10050 ]
Fix Version/s 2.4 [ 10051 ]
Matt Raible added a comment - 10/May/06 12:58 AM
I added an "id" attribute on the <menu:userMenuDisplayer> tag. You can use this to give a unique name to each menu. Your id will be appended on the end of ocMenu. You will need to change coolmenu4-config.js to talk to the menu id.

Matt

Matt Raible made changes - 10/May/06 12:58 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
pallavi nagboth added a comment - 10/May/06 12:41 PM
CoolMenus4.js is modified to check whether there is any event defined in the coolmenus4-config.js If there is an event defined, then it uses that event to show the menu items (open up the menu), otherwise menu is opened on onmouseover. And also if there is any image displayed next to the menu text, it follows the same (looks for the event, if event exists, then it opens up the menu on that event of the image, default is onmouseover ex. on onclick of image)