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
: 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
/~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
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
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
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
6 matches
Mail list logo