----- Original Message ----- From: "Tim Colson" <[EMAIL PROTECTED]> To: "'Velocity Developers List'" <[EMAIL PROTECTED]> Sent: Tuesday, July 01, 2003 10:07 PM Subject: RE: Can comparisons be limited to true/false?
> Not according to the FM documentation I read - FM does not throw an > exception when an IF conditional contains anytyhing other than a boolean > reference. > I don't know what documentation did you read, but http://www.freemarker.org/docs/ref_directive_if.html clearly says "The condition-s must evaluate to a boolean value, or else an error will abort template processing". Regards, Attila. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
