RE: Tiles template header and title
create another definition that use your header.jsp as a layout(template), and pass in whatever attribute you wish, then use that definition to pass into your master definition. -Original Message- From: Enrique Rodriguez [SMTP:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 8:07 AM To: Struts Users Mailing List Subject: RE: Tiles template header and title This is what i will do: When i call to the master definition from an ACtion y set the Title as attribute in the request and then int the header.jsp, i write it. Very easy. HTH. Enrique. _ Enrique Rodriguez Lasterra -Mensaje original- De: Filipe Mateus [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 02 de mayo de 2002 16:47 Para: [EMAIL PROTECTED] Asunto: 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:: tabletrtdtiles: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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tiles template header and title
This is what i will do: When i call to the master definition from an ACtion y set the Title as attribute in the request and then int the header.jsp, i write it. Very easy. HTH. Enrique. _ Enrique Rodriguez Lasterra -Mensaje original- De: Filipe Mateus [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 02 de mayo de 2002 16:47 Para: [EMAIL PROTECTED] Asunto: 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:: tabletrtdtiles: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]
RE: Tiles template header and title
This is what i will do: When i call to the master definition from an ACtion y set the Title as attribute in the request and then int the header.jsp, i write it. Very easy. HTH. Enrique. _ Enrique Rodriguez Lasterra -Mensaje original- De: Filipe Mateus [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 02 de mayo de 2002 16:47 Para: [EMAIL PROTECTED] Asunto: 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:: tabletrtdtiles: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]
Re: Tiles template header and title
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:: tabletrtdtiles: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]
Re: Tiles template header and title
I tried it, and it works perfectly! Now I understand the power of tiles:importAttribute and bean:write Thank you! On Thu, 2 May 2002 17:08:09 +0200 Enrique Rodriguez [EMAIL PROTECTED] wrote: This is what i will do: When i call to the master definition from an ACtion y set the Title as attribute in the request and then int the header.jsp, i write it. Very easy. HTH. Enrique. _ Enrique Rodriguez Lasterra -Mensaje original- De: Filipe Mateus [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 02 de mayo de 2002 16:47 Para: [EMAIL PROTECTED] Asunto: 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:: tabletrtdtiles: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] ** 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]