Register / Login
Win a copy of
Re-engineering Legacy Software
this week in the
Docker in Action
How to use nested layouts in tiles
posted 8 years ago
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
dynamic page throught tile
Problem with Tiles-Definition
How do i change only body page in tiles.xml file in struts2
dynamic parameters to tiles