• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

How to use nested layouts in tiles

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm using struts and tiles in my JSP 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>

<definition name="screen2" extends="LayoutDef">
<put name="body" value="/JSP/temp2.jsp" />
</definition>

Can anyone send me sample of code of how the tiles-config and layout files should look like?

Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic