velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergiu Dumitriu <sergiu.dumit...@gmail.com>
Subject Re: Explicitly using null in a template
Date Mon, 27 Jul 2015 18:50:38 GMT
I remember reading somewhere that you should use $NULL, but can't
remember where.

On 07/27/2015 01:11 PM, Christopher Schultz wrote:
> All,
> 
> I have a situation where I need to explicitly pass NULL to a method on
> an object. Can I simply do something like this:
> 
> $myObject.getSomething($referenceThatIsCertainlyNull)
> 
> ?
> 
> I seem to remember there being a helper object (VelocityTool?) that had
> nice things in it like $helper.null or something like that, but I can't
> seem to find a reference for it.
> 
> Thanks,
> -chris
> 


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/

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


Mime
View raw message