DALDEI
Posts: 12
|
| Posted: 05/26/2010, 7:08 AM |
|
Does anyone know how to set the active menu item ?
I'm using Java/J2EE but any suggestion welcome.
I looked at the Menu class and there is nothing on the server side I could see to set the active menu. I have many pages which are not associated with menu items, such as an "Add Record" type page linked from a Grid page. When I click on the link to the grid page, the Menu item is set to the next item even though I dont want it to change.
How to either prevent the "active menu item" from changing, or reset it to one that I want ?
Thanks for any suggestions.
_________________
David Lee
CTO Nexstra, Inc
dlee@nexstra.com |
 |
 |
DALDEI
Posts: 12
|
| Posted: 05/27/2010, 5:43 AM |
|
Resolved. The problem I had was one menu option didnt have an href yet.
That caused the Menu code to hilight that menu option whenever visiting a page that wasnt in the menus. By making a page for every menu option, now if I visit a page which isnt on the menu then NONE of the menu options hilight., I think this is the desired behaviour.
_________________
David Lee
CTO Nexstra, Inc
dlee@nexstra.com |
 |
 |
datadoit
|
| Posted: 05/27/2010, 9:57 AM |
|
Glad we all could help! ;)
|
|
|
 |
|