Just catching up, it's a busy week before burning man :-)

I think this is a marvelous idea.

I actually started working on a JSTL-ish set of tags based on the Groovy expression language because AFAICT the Groovy expression language is a perfect superset of Velocity's. The main reason, though, is that Groovy has a nice API that lets me evaluate expressions directly so it's easy.

I'd be perfectly happy with VSTL instead of GSTL... it's just a question of a nice API for evaluating expressions.

Jeff


Will Glass-Husain wrote:
(And I thought I was being so clever about the Context idea).

Another issue is that the emerging VSTL is useful for if's and set's
but shares JSTL's wordiness for straight output
(e.g. <c:out "${model.property}"/>  instead of just $model.property).

But mixed in with veltag, you could easily render a block of Velocity
in the middle of a page.

The more I think about it, the more I like this idea.  Be nice for
those of us who use JSP and Velocity all the time.   I'd think the
tasks to build this out into production-ready toolkit would be
something like this:

* modify Velocity core to support evaluation of expressions
* create new VSTL tag library in part that parallels JSTL
* add in macro capability (?)
* merge in veltag (?)
* document, create examples, website, etc.

This would be a nice sub-project of a future Velocity TLP.  :-)

What do you think Jeff?  Is this feasible or have we hijacked your
idea into something new?

WILL


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to