tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: [ANNOUNCE] Tiles 2.0: pass-thru attributes?
Date Mon, 14 May 2007 06:51:28 GMT
2007/5/12, Garrett <dhtmlkitchen@gmail.com>:
>
>         <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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message