You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by wu qi <wq...@yahoo.com> on 2003/02/11 07:46:22 UTC

what is "Silent notation" for $!somename

       and the difference between Normal notation?In the example of struts velocity tools,there are many case as such.


---------------------------------
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day

RE: what is "Silent notation" for $!somename

Posted by pero <me...@gmx.de>.
The difference is the handling NULL-Objects (or a
not existing object in the Context)

If "somename" cannot be found in the context or is null, then
$somename prints "$somename"
and
$!somename prints ""

Try it!
Peter



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