Hi All,

 

When Velocity occurs:

 

${a.b}

 

if a is null, it will be rendered as "${a.b}"

 

I know the way "Quiet Reference Notation":

 

$!{a.b}

 

but i hope our developers keep using "${a.b}", in spite that null pointer 
appears or not, so, can I let Velocity keep silent just through configuration, 
such as:

 

Velocity.setProperty("quietReference", true);

 

I don't know if Velocity-1.6 supports this or not, and am eager to know the 
best solution.

 

Regards,

bluejoe

Reply via email to