Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change notification.
The following page has been changed by ShinobuKawaiYoshida: http://wiki.apache.org/jakarta-velocity/CheckingForNull The comment on the change is: add reference ------------------------------------------------------------------------------ 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]. + [http://issues.apache.org/bugzilla/show_bug.cgi?id=27741 Bugzilla #27741], + VelocityNullSupport. '''''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]
