tiles-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bubna <nbu...@gmail.com>
Subject Re: Velocity support: I was completely wrong
Date Sat, 16 Jan 2010 19:32:20 GMT
On Sat, Jan 16, 2010 at 11:07 AM, Antonio Petrelli
<antonio.petrelli@gmail.com> wrote:
> Hi all
> this is a rant against myself :-D
> I just discovered that I did the Velocity support in the wrong way,
> since I somewhat forced the concept of Tool in Velocity to become a
> tag.
> In fact, I noticed that the best way to write the corresponding
> concept of tag in Velocity into custom *directives*. For this reason I
> opened this issue:
> http://issues.apache.org/struts/browse/TILES-490
>
> Note that the VelocityStyleTilesTool is ok, since it is a *real* tool:
> http://tiles.apache.org/framework/apidocs/org/apache/tiles/velocity/template/VelocityStyleTilesTool.html

yep.  even if it's API is a bit verbose. ;)

> Now the question is: what should we do with the "Tiles2Tool" that is a
> chimera between a tool and a tag?
> http://tiles.apache.org/framework/apidocs/org/apache/tiles/velocity/template/Tiles2Tool.html
>
> IMHO the best thing to do is to delete it, though we released a beta
> version of the 2.2 series.

i have no love for it.  but beta is not alpha.  can we deprecate for a
version and delete in the subsequent one?

> What do you think?
>
> Antonio
>

Mime
View raw message