L.S.,

I have created a tiles.xml file to define (see below)
- template.webshop, which insert a two-column body (navigation and content) in a JSP page - webshop.home uses template.webshop and fills in the navigation and content attributes

However, Tiles complains about "Attribute 'content' not found" when showing the webshop.home definition. Why? Can't you insert a page which contains <tiles:insertAttribute /> tags itself?


Thanks for any help,

Gert



tiles.xml

   <definition name="template.webshop" templates="/templates/basic.jsp">
<put-attribute name="header" value="/templates/shopping_header.jsp"/>
       <put-attribute name="body" value="/templates/two_column_body.jsp"/>
   </definition>

   <definition name="webshop.home" extends="template.webshop">
<put-attribute name="navigation" value="/templates/navigation_collapsed.jsp"/>
       <put-attribute name="content" value="/home.jsp" />
</definition>

Reply via email to