Hi,
I'd like to implement a menu using
Struts Tiles which highlights the currently selected menu item somehow. How should I pass the information about the currently selected page to the tile responsible for rendering the menu?
Here's an example:
In other words:
1) The layout tile named ".mainLayout" specifies that every page includes the navigation.jsp for rendering a navigation menu
2) I want both "frontPage.page" and "anotherPage.page" to tell "navigation.jsp" that it should highlight that particular link to indicate that that's what the user has currently selected and is viewing.
Anyone? I've never done this kind of stuff with Tiles so even the smallest bit of advice would be much appreciated.
Thanks.