A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to use nested layouts in tiles
Joined: Jun 19, 2005
Oct 19, 2007 18:48:00
and tiles in my
and I need to have nested layouts.
I need to have the main Layout, and have this one contains body Layout.
The problem is that I can't pass this body value to the bodyLayout
<definition name="screen1" extends="LayoutDef">
<put name="body" value="/JSP/temp1.jsp" />
<definition name="screen2" extends="LayoutDef">
<put name="body" value="/JSP/temp2.jsp" />
Can anyone send me sample of code of how the tiles-config and layout files should look like?
It is sorta covered in the
JavaRanch Style Guide
subject: How to use nested layouts in tiles
dynamic page throught tile
dynamic parameters to tiles
How do i change only body page in tiles.xml file in struts2
Problem with Tiles-Definition
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013