velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Baynes" <kbay...@seagullsw.com>
Subject RE: Looking for a more complete VTL Reference...
Date Tue, 01 Oct 2002 17:31:13 GMT

"#if($a != 1)" is valid VTL, as is "#if(!($a == 1))".

It looks like the (!=) is indeed missing from the VTL reference guide.

~k

> -----Original Message-----
> From: Rodrigo Reyes [mailto:rodrigo@instaservi.com]
> Sent: Tuesday, October 01, 2002 2:07 PM
> To: velocity-user@jakarta.apache.org
> Subject: Looking for a more complete VTL Reference...
>
>
> Hi all...
>     I would like to know if there is a more complete VTL
> Reference or User's
> Guide than the one that is placed in the Velocity Website. I am
> starting to
> work with Velocity and it seems to me that there are some very
> basic things
> missed there. For example, is there any way to make something like "#if($a
> != 1)"?. Is there a NOT operator? I also needed some way to order an array
> of Objects, but we couldn't find some way to reference static
> methods, so we
> had to create a wrapper object for Arrays object static methods. Is there
> any other way to do this? Thanx...
>
> Rodrigo
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:velocity-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:velocity-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message