First of all let me compliment you on a great open source project! I was looking for a cascading menu system and one that was jsp tag based and included declarative security was great!
My current problem seems to be environment specific problem and not an issue with the product itself, but I thought I'd post the details to a) be sure and b) see if anyone had run across the same problem...and solved it ;)
My environment:
Struts Menu 2.3 jar
coolmenus3.js
coolmenu-config.js
permissionsMenu-config.js
menu.jsp which is an jsp:include at the top of each page.
My Menu Structure:
Menu
- SubMenu1 [role=User]
- Sub-SubMenu1A [role=User]
- SubMenu2 [role=User]
- Sub-SubMenu2A [role=User]
- SubMenu3 [role=User]
- Sub-SubMenu3A [role=Admin]
- Sub-SubMenu3B [role=Admin]
- Sub-SubMenu3C [role=Admin]
- Sub-SubMenu3D [role=Admin]
- Sub-SubMenu3E [role=Admin]
- Sub-SubMenu3F [role=User]
- SubMenu4 [role=User]
- Sub-SubMenu4A [role=User]
- Sub-SubMenu4B [role=Admin]
- SubMenu5 [role=User]
My problem:
When a page is initially loaded, a user with both (User and Admin) roles who mouses over SubMenu3 only sees the last 3 Sub-SubMenu items (D,E,F). If the user mouses out of the menu system and back in a second, or any subsequent time, all 6 SubMenu3 Sub-SubMenu items appear.
Is there a bug in one of the .js files I'm using? Is the js code be affected by my env (i.e. another non menu related js file)? Has anyone run into this problem and solved it?
Thanks,
Jon
Jon