This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Placing variables for nested tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Placing variables for nested tiles" Watch "Placing variables for nested tiles" New topic
Author

Placing variables for nested tiles

nick angel
Ranch Hand

Joined: Dec 14, 2005
Posts: 39
I have recently begun using tiles. I have created nested tiles. However in each jsp fragment I am repeating the following code:



I wish to avoid this. Is there any way one can place this in a variable int the parent tile and still be visible in the nested tiles. Thank you.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Placing variables for nested tiles
 
Similar Threads
XSLT- Element name
creating a hashmap of hashmap using xml
Tiles problem:help needed please
Problems with tiles-defs.xml
Choosing between two tile definitions