This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes Changing the look of a fixed tile? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Changing the look of a fixed tile?" Watch "Changing the look of a fixed tile?" New topic
Author

Changing the look of a fixed tile?

Niall
Greenhorn

Joined: Mar 22, 2006
Posts: 6
Hi,

I desperately need help with a problem I'm having using struts tiles. I have a menu with seven options in a file called 'menu.jsp'. This menu appears on the side of every page throughout my application. However, I now want to be able to change the colour of the text for whatever option is currently selected. I've tried using 'onclick' to change the colour of the text for the selected option but because the original colours are defined in 'menu.jsp', once the page reloads the original menu tile is displayed again (ie with no colour changes). I am trying to avoid writing a seperate menu tile for each menu option selected but can't see any other way round this problem. Am I trying to do the impossible?

Any help is appreciated. I'd like to know if anyone else has found a way around this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Changing the look of a fixed tile?
 
Similar Threads
html:mutibox and validation Error
How to print a Specific tile ?
JSF navigation problem
Change color of clicked link - tiles
Tiles - adding background image to a clicked link