velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Revusky <>
Subject Re: Treatment of null variables in Velocity
Date Sun, 15 Jul 2001 00:01:14 GMT
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:

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
check out the Revusky Hacks Page:

View raw message