RE: [Tiles] Populating Tiles definition attribute at runtime

2003-12-30 Thread Robert Taylor
ing Tiles definition attribute at runtime > > > Thanks for the reply Pedro, but I was looking for a cleaner solution. > > robert > > > -Original Message- > > From: Pedro Salgado [mailto:[EMAIL PROTECTED] > > Sent: Monday, December 29, 2003 12:51 PM > > To:

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Paul-J Woodward
cc: Subject: Re: [Tiles] Populating Tiles definition attribute at runtime 29/1

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Brice Ruth
Wow, that's pretty cool ... I'll have to check out the controllerClass stuff sometime :) Domingo A. Rodriguez S. wrote: Hi Robert.. I guess you could achieve the same using the controllerClass attribute and building your class.. For instance, I have this definition in the tiles-defs.xml file: -

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Domingo A. Rodriguez S.
Hi Robert.. I guess you could achieve the same using the controllerClass attribute and building your class.. For instance, I have this definition in the tiles-defs.xml file: --- --- And I have this controllerClass --- package com.dars; import org.apac

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Brice Ruth
The cleanest thing to do here, likely, would be to have your 'content' attribute have a value that maps to an Action (/search.do would work, I think - Vic might be able to confirm this) and in the Action class, define an attribute "heading" stored in request context, that pulls from request par

RE: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Robert Taylor
Thanks for the reply Pedro, but I was looking for a cleaner solution. robert > -Original Message- > From: Pedro Salgado [mailto:[EMAIL PROTECTED] > Sent: Monday, December 29, 2003 12:51 PM > To: Struts Users Mailing List > Subject: Re: [Tiles] Populating Tiles definiti

Re: [Tiles] Populating Tiles definition attribute at runtime

2003-12-29 Thread Pedro Salgado
I donĀ¹t know if it is possible to change a tiles definition at runtime but a solution to your problem could be solved by specifying a definition that uses a jsp file that does a conditional include according to a given parameter? <- > choose.jsp Pedro Salgado On 29/