"Diethelm Guallar, Gonzalo" wrote:
> Is it reasonable to move TODAY from WM-based development
> towards Velocity-based?
>
> What documents describe how to use Velocity from templates?
> Configuration? Caveats?
>
> Thanks.
Velocity and its VTL language (WM similar) is well documented,
see the http://jakarta.apache.org/velocity site. You can
convert WM templates intl VL with a tool from JVZ.
I tried to go for version 0.4 but had problems with some things:
- $data.getUser().getUserName() must be written as $data.User.getUserName()
due to a parser error.
- $link.addPathInfo("param", "pathInfoParam") causes a NPE, maybe
due to the method calling code not coping with two parameters?
Its hard to tell if these have been analyzed or fixed (as reported
to the VL user mailing list, I'm not on the developer/CVS list).
For a production site, in my opinion, it is not recommendable to
move to velocity. But to contribute to get Velocity stable some
of us should test a port (with the latest VL snapshot) to give
feedback.
:) Christoph
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]