Antonio, That is not what I want to do.
I want to have main.layout for site index and many other pages as well. I do not understand why extending an object results in infinite recursion in tiles. site.index.layout extends main.layout site.index.body.content extends body.content And I the result over and over and over. Antonio Petrelli-3 wrote: > > 2007/5/12, Garrett <[EMAIL PROTECTED]>: >> >> <definition name="main.layout" template="/tiles/main-layout.jsp"> >> <put-attribute name="head" value="head.content"/> >> <put-attribute name="body" value="body.content"/> >> </definition> > > > > You forgot to put the EXTENDED definitions as attribute values! > Change it this way: > <definition name="main.layout" template="/tiles/main-layout.jsp"> > <put-attribute name="head" > value="site.index.head.content"/> > <put-attribute name="body" > value="site.index.body.content > "/> > </definition> > > Antonio > > -- View this message in context: http://www.nabble.com/Tiles-2.0%3A-pass-thru-attributes--tf3729931.html#a10692341 Sent from the tiles users mailing list archive at Nabble.com.
