struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Biel <>
Subject Re: How to use Templates efficently ?
Date Wed, 30 Oct 2002 08:33:24 GMT
Hi Cedric,
I just had a look at Chuck's chapter about tiles.
I didn't read the whole chapter yet, only the half,
but from what I've read so far, it doesn't seem to be so different from
just gots some enhanced features.
Btw: I also read that it was you who created it! :-)
So you should be the perfect person to ask about tiles:
I still can't see a reason to use tiles instead of a simple include

I mean, okay, you can easily change your entire layout. BUT -
in return you got twice as much files!
For each file you need a content.jsp and a content-body.jsp.

It might be useful to easily change your entire layout -
but imho in the majority of cases you always got the same header and
and you'r unlikly going to put your copyright footer at the top of you
pages or your header at the bottom.

If your just including header and footer, you got much less pages to
create and to administrate, in contrast
to a minor drawback that you can't easily put your footer at the top of
your page.

Correct me if I am wrong.

Marcus schrieb:
>   Hi,
>   You can use tiles in 1.02. You need to use the separate
> tilesForStruts1-0.jar file. You can find it in the distrib from the
> original tiles site. Then check under lib/tiles1.0.
>    Cedric

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message