CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 [RESOLVED] Setting the active menu item

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
datadoit
Posted: 05/27/2010, 9:57 AM


Glad we all could help! ;)

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.