tiles2

Nesting templates in Tiles, why are attributes undefined in the included template?

I use Tiles 2 in my web application, and the basic setup I've got in my tiles.xml file is this: <tiles-definitions> <definition name="mainLayout" template="/jsp/layout.jsp"> <put-attribute name="header" value=""/> <put-attribute name="menu" value="/jsp/defaultMenu.jsp" /> <put-attribute name="content" value="...

Tiles2 error with cascade attribute in put-attribute tag

I just don't know why i get this error: 2010-10-28 16:32:29,925 ERROR [ache.commons.digester.Digester.error :1635] - Parse Error at line 45 column 56: Attribute "cascade" must be declared for element type "put-attribute". org.xml.sax.SAXParseException: Attribute "cascade" must be declared for element type "put-attribute". til...