There are some excellent examples of tiles usage in struts-tiles.war. I highly recommend checking that out. Not only will it answer the question you have asked, but you will get additional insight into tiles that will help you build better tiles applications.
Regards, Eddie ----- Original Message ----- From: "Filipe Mateus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 02, 2002 9:46 AM Subject: Tiles template header and title > I have this definition file: > > <tiles-definitions> > > <definition name="master" path="/WEB-INF/pages/my_template.jsp"> > <put name="title" value="Can this be in the header?" /> > <put name="logo" value="/images/logo_fra.gif" /> > <put name="header" value="/WEB-INF/pages/header.jsp" /> > <put name="footer" value="/WEB-INF/pages/footer.jsp" /> > </definition> > ... > </tiles-definitions> > > I would like header.jsp to know the title attribute so it can render it. I was hoping doing something like this in header.jsp:: > > <table><tr><td><tiles:insert attribute="title"/></td></tr></table> > > But obviously, the title attribute is not known. > > How can I pass the title attribute to header.jsp ? > > Thank you. > > > ********************************************************************** > Financiere Banque Nationale et NBCN n'assument > aucune responsabilite quant a la confidentialite et l'integrite du > present courriel en raison des risques d'interception inherents > a l'Internet. Pour cette raison, toute opinion exprimee au terme > des presentes ne reflete pas necessairement celle de > Financiere Banque Nationale et de NBCN. > ********************************************************************** > Due to the security risks involved in sending information over the > Internet, National Bank Financial and NBCN cannot be held responsible > for ensuring the confidentiality and integrity of the present e-mail. For this > reason, the opinions expressed herein do not necessarily reflect those of > National Bank Financial and NBCN. > ********************************************************************** > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

