Thanks for the pointer to my slides from ApacheCon ("Hacking Velocity").
For the record there are slides and sample code available on these topics:
--> VelocityViewServlet
--> Custom directives
--> Custom resource loaders
--> Event handlers
--> Custom introspector
--> Modifying Velocity syntax with JavaCC
I've put the material on the Wiki for more general availability. Hope this
is useful to other users.
http://wiki.apache.org/jakarta-velocity/HackingVelocity
Best, WILL
----- Original Message -----
From: "Shinobu Kawai" <shinobu.kawai@gmail.com>
To: "Velocity Users List" <velocity-user@jakarta.apache.org>
Sent: Monday, December 06, 2004 2:12 PM
Subject: Re: [FAQ] How do you check for null?
> Hi Henning,
>
>> With the slides from Will's talk @ ApacheCon, you should be able to
>> add a new statement to the VTL so you can do
>>
>> #ifnull($car.fuel)
>
> Hey, thanks for the idea! Approach #6 : use a custom directive. :)
> I'll look into that.
>
> Best regards,
> -- Shinobu Kawai
>
> --
> Shinobu Kawai <shinobu.kawai@gmail.com>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
|