Tiles is indeed more developed.

The template library was a relatively early contribution to Struts. Since it
stabilised, it has undergone little change. In the meantime, Tiles came
along as an add-on to Struts, providing backwards compatibility with the
template library, but also offering significantly more functionality. Over
time, Tiles was moved to the contrib area of Struts, and more recently, into
the Struts core.

Meanwhile, David Geary, who was the original author of the template library,
went on to develop the Regions library, which he describes in his book,
"Advanced JavaServer Pages". At one point, there was some discussion of
David and Cedric working together to combine the best of Regions and Tiles,
but as far as I'm aware, nothing came of that.

At this point, the template library is really only meaningful for backwards
compatibility. Tiles is the focus, going forward. My understanding is that
the degree of compatibility between the two is such that simply changing the
taglib directive at the top of a JSP page to reference Tiles instead of
template is all that is needed to switch over to Tiles.

That being the case, it occurs to me that we should probably deprecate the
template library in favour of Tiles in the 1.1 release, with a view to
supporting only Tiles in future releases.

(Sorry, I didn't mean for this to turn into a history lesson. :)

--
Martin Cooper


> -----Original Message-----
> From: David Graham [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 16, 2002 8:09 PM
> To: [EMAIL PROTECTED]
> Subject: template status
> 
> 
> What's the deal with the struts template library?  I haven't 
> used it but it 
> seems to have many features that Tiles has.  Tiles seems more 
> developed 
> however.  Are there any plans for template?
> 
> Dave
> 
> 
> 
> 
> 
> _________________________________________________________________
> Broadband? Dial-up? Get reliable MSN Internet Access. 
> http://resourcecenter.msn.com/access/plans/default.asp
> 
> 
> --
> 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]>

Reply via email to