Tabbed Menu Help
"Nortje, Andrew" <Andrew.Nortje-/[email protected]>
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <2D3A642CA9C8A74C9BD66C372091E7E10A31472E@GAATLITEXCH08S.atldc.nscorp.com> |
All
I have just started using Struts Menu - looks very neat. I am using Tabbed
menus with menu config listed below. It generally works fine but the
selected menu is not always shown properly selected. Sometimes I have to
click a menu twice before it's shown as selected.
My url's do have parameters but checking the javascript, as suggested in one
email in the archives, it seems this should not be a problem. The javascript
uses the indexOf() method to check the URL. I assume javascript indexOf()
works the same as the java String indexOf() method i.e. exact match not
required as long as the sub string is found in the String.
I am using:
1. Struts Menu 1.2 - latest release
2. Struts 1.2
3. IE
4. WebLogic
I checked through the archives and see that other folks have had similar
problems. Any ideas?
TIA
Andrew
<Menus>
<Menu name="TabbedUser" title="User"
action="/userAdmin.do?action=listUsers"/>
<Menu name="TabbedIA" title="Input Approve"
page="/inputApprovalHome.jsp"/>
<Menu name="TabbedYERO" title="YERO"> <!-- No location, uses first
item"s location (People) -->
<Item name="Last Year" title="Last Year"
action="/YERO/YEROLastYearAction.do?"/>
<Item name="Target" title="Target" action="/yero.do"/>
</Menu>
<Menu name="TabbedDataAdmin" title="Data Admin"
page="/dataAdminHome.jsp"/>
</Menus>