velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Warner Onstine" <war...@warneronstine.com>
Subject Re: Treatment of null variables in Velocity
Date Sun, 15 Jul 2001 00:14:24 GMT
Oh, I completely understand, just pointing out some of the little tidbits in
the docs =).

-warner

----- Original Message -----
From: "Jonathan Revusky" <jrevusky@terra.es>
To: <velocity-user@jakarta.apache.org>
Sent: Saturday, July 14, 2001 5:01 PM
Subject: Re: Treatment of null variables in Velocity


> Warner Onstine wrote:
> >
> > What you actually need to do is this:
> > $!record.last_name
>
> Thank you very much!
>
> >
> > So, if the last_name var is null it outputs an empty string. This is
> > discussed in:
> >
> > http://jakarta.apache.org/velocity/user-guide.html
>
> No, I didn't read that far. I would have had to read that, since there
> is no way I would have ever guessed something like that!
>
> Jonathan Revusky
> --
> available for Java/Delphi/Internet consulting
> If you want to...
> - make your .class files double-clickable with SmartJ
> - do Delphi/Java mixed programming with easy-to-use JNI wrapper classes
> - build robust web applications with the Niggle Application Framework
> then...
> check out the Revusky Hacks Page: http://revusky.com/hacks/
>


Mime
View raw message