Date: 2004-12-04T03:12:02 Editor: ShinobuKawai <[EMAIL PROTECTED]> Wiki: Jakarta-Velocity Wiki Page: VelocityFAQ URL: http://wiki.apache.org/jakarta-velocity/VelocityFAQ
Add null related Bugzilla issues. Change Log: ------------------------------------------------------------------------------ @@ -31,6 +31,9 @@ #if ($car.fuel == null) }}} * A: There are several approaches. Select the one most suitable depending on what you really want to do. (Thanks, everybody, for all the [http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&by=thread&from=949954 feedback on the user list].) +See also: +[http://issues.apache.org/bugzilla/show_bug.cgi?id=20999 Bugzilla #20999], +[http://issues.apache.org/bugzilla/show_bug.cgi?id=27741 Bugzilla #27741]. ''Approach 1:'' Use the fact that null is evaluated as a false conditional. (cf. http://jakarta.apache.org/velocity/user-guide.html#Conditionals) {{{ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
