Re: Multiple tiles layouts for single application

2005-05-11 Thread Andreas Toom
ay 10, 2005 1:58 AM To: Struts Users Mailing List Subject: Re: Multiple tiles layouts for single application Hello again, great pdf there, solved my problem nice and easy. Instead of a jsp in the path attribute of a definition I used a struts action which forwards to the right template, should wor

RE: Multiple tiles layouts for single application

2005-05-10 Thread Benedict, Paul C
: Multiple tiles layouts for single application Hello again, great pdf there, solved my problem nice and easy. Instead of a jsp in the path attribute of a definition I used a struts action which forwards to the right template, should work really nice. Thank you very much for the help! /Andreas

Re: Multiple tiles layouts for single application

2005-05-09 Thread Andreas Toom
/~dumoulin/tiles/tilesAdvancedFeatures.pdf page 15 may help you Cheers. -Original Message- From: Andreas Toom [mailto:[EMAIL PROTECTED] Sent: 09 May 2005 15:33 To: Struts Users Mailing List Subject: Re: Multiple tiles layouts for single application Yes, but a tile definition is just a.. tile

RE: Multiple tiles layouts for single application

2005-05-09 Thread Allistair Crossley
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf page 15 may help you Cheers. > -Original Message- > From: Andreas Toom [mailto:[EMAIL PROTECTED] > Sent: 09 May 2005 15:33 > To: Struts Users Mailing List > Subject: Re: Multiple tiles layouts for sin

Re: Multiple tiles layouts for single application

2005-05-09 Thread Andreas Toom
Yes, but a tile definition is just a.. tile definition. All my definitions extends a base tile: And my forwards are: So now, if a request has been made to http://mysite/?layout=layout1 or whatever it seems like a nice solution not have to change anything in my action configuration

RE: Multiple tiles layouts for single application

2005-05-09 Thread Allistair Crossley
Your requests should be routing through a Struts Controller via an ActionMapping, and therefore your Action can examine the request and return the appropriate view which will be a forward to the tile definition of your choice. Cheers, Allistair. > -Original Message- > From: Andreas Toom