Paulo Gaspar wrote:
> 
> It looks like the new Velocity replaces a null reference
> with "something" before passing it as a parameter to a
> method reference.
> 
> So, if I have:
> 
>   #if($tool.hasSomething($data.field))
> 
> and $data.field resolves to null, the hasSomething() method
> gets something else (not the null).
> 
> WHY?

Huh?  What do you mean 'new', and what does it get?

geir

-- 
Geir Magnusson Jr.                           [EMAIL PROTECTED]
System and Software Consulting

Developing for the web?  See http://jakarta.apache.org/velocity/

Reply via email to