Re: Explicitly using null in a template
Sergiu Dumitriu <[email protected]> Mon, 27 Jul 2015 14:50:38 -0400
| Newsgroups | gmane.comp.jakarta.velocity.user |
|---|---|
| Message-ID | <[email protected]> |
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/