The Menu selection/highlighting logic is done using JavaScript. If you
look at the associated JavaScript file for your menu, you should see
how things work. Basically, a cookie is set so each time you click a
menu, the cookie can be read on the next page to highlight the menu.
If it doesn't find a cookie, it attempts to match on URL. If you click
on a link w/in the page to go to the next, there's a good chance no
cookie was set. You might look at the following example to learn now
to use CSS to highlight the appropriate menu using SiteMesh.

http://www.dehora.net/journal/2007/08/tab_switching_with_sitemesh.html

Matt

On 8/7/07, byenare <[EMAIL PROTECTED]> wrote:
>  Hi All, I am using TabbedMenu for menu generation. version is struts menu
> 2.4.2. I am facing problem to retain the control on sub menu items in some
> cases. For below mentioned cases, submenu disappers: 1. If my form action
> class is not defined in menu-config.xml. 2. If I am submitting to different
> action than the one defined( or originated request from) in menu-config.xml
> Any inputs to resolve this is highly appreciated. Thanks, byenare.
> ________________________________
>  View this message in context: submenu in Tabbed Menu.
>  Sent from the struts-menu-user mailing list archive at Nabble.com.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> struts-menu-user mailing list
> struts-menu-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>
>


-- 
http://raibledesigns.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
struts-menu-user mailing list
struts-menu-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to