Results 1 to 1 of 1
- 01-26-2010, 10:43 PM #1
Member
- Join Date
- Dec 2009
- Posts
- 24
- Rep Power
- 0
Menu item activation in struts2+tiles project
Hi,
Am building an application using struts2 and tiles. I have a top menu bar, which is common for all the pages, so i declared the menu in tiles. When a menu item is clicked, the respective menu item should be active(i.e. different color). But as i declared the menu item in tiles, the same menu is called for all the pages. Is there a way that i can still keep the menu in tiles and the respective menuitem is activated.
previously i had for each page as;
so when a menuitem is clicked, it goes to the corresponding page and in the menubar it is highlighted.Java Code:<li id="header_navigation-spon-[B]active[/B]"><a href="sponsors.html"></a></li>
Similar Threads
-
java.lang.NoClassDefFoundError: javax/activation/DataSource
By bbq in forum Advanced JavaReplies: 2Last Post: 07-21-2012, 01:15 AM -
Menu item not working properly for mouse events
By Preethi in forum New To JavaReplies: 1Last Post: 09-23-2008, 08:56 AM -
Checking toggle state of a menu item
By xsive in forum SWT / JFaceReplies: 1Last Post: 09-22-2008, 02:42 PM -
[SOLVED] Activation Frame
By Mir in forum New To JavaReplies: 34Last Post: 07-22-2008, 09:45 AM -
how to create Popup Menu with Sub Menu while right-clicking the JTree Node??
By Kabiraa in forum AWT / SwingReplies: 7Last Post: 05-09-2008, 07:54 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks