Hi! I'm a struts newbie and this is maybe a stupid question, but I really don't know...
Consider I have two simple templates (simplified): * template1.jsp * <html> <head>...</head> <body> <tiles:insert attribute="page-body"/> </body> </html> * template2.jsp * <div class="menu"> <tiles:insert attribute="menu"/> </div> <div class="body"> <tiles:insert attribute="body"/> </div> I want to insert some html code into template2.jsp (e.g. menu.jsp, body.jsp) and then, insert template2.jsp into template1.jsp as "page-body". <tiles:insert page="template1.jsp> <tiles:put name"page-body" value="template2.jsp"/> </tiles:insert> The problem is that I don't know how to pass "menu" and "body" attributes to template2.jsp. Inserting <tiles:put name="menu"... into <tiles:insert... element shown above doesn't work :-( Is there any simple way how to do it? Or is this whole design bad? Thanks! Bendis -- XMMP: [EMAIL PROTECTED] ICQ: 140729291 GnuPG: 0xA4D7068E
pgpd1EOh1RRM7.pgp
Description: PGP signature