Date: 2004-12-10T08:58:29 Editor: ShinobuKawai <[EMAIL PROTECTED]> Wiki: Jakarta-Velocity Wiki Page: VelocityFAQ URL: http://wiki.apache.org/jakarta-velocity/VelocityFAQ
fix typo Change Log: ------------------------------------------------------------------------------ @@ -41,7 +41,7 @@ }}} ''Note:'' The conditional will also pass if the result of $car.fuel is the boolean false. What this approach is actually checking is whether the reference is '''null or false'''. -'''''Approach 2:''''' Use the fact that null becomes an empty string is quiet references. (cf. http://jakarta.apache.org/velocity/user-guide.html#Quiet%20Reference%20Notation) +'''''Approach 2:''''' Use the fact that null is evaluated as an empty string in quiet references. (cf. http://jakarta.apache.org/velocity/user-guide.html#Quiet%20Reference%20Notation) {{{ #if( "$!car.fuel" == "" ) }}} --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
