Hi all,I'm using tiles 2 with struts 2.Basically in tiles.xml,are these definitions..
<definition name="tiles.default" template="/layouts/Layout.jsp"> <put-attribute name="header" value="/includes/header.jsp"/> <put-attribute name="footer" value="/includes/footer.jsp"/> </definition> <definition name="tiles.home" extends="tiles.default"> <put-attribute name="body" value="/home.jsp"/> </definition> <definition name="tiles.user" extends="tiles.default"> <put-attribute name="body" value="/user/user.jsp"/> </definition> <definition name="tiles.admin" extends="tiles.default"> <put-attribute name="body" value="/admin/admin.jsp"/> </definition> lets say,i have 20 jsp pages that use the same template(tiles.default). Is there any simpler way to do this than writing a definition for each of the them? -- View this message in context: http://www.nabble.com/Tiles-2-define-many-pages-using-same-template-tp23738366p23738366.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org