default value for boolean
Leos Literak <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I've started to get rid off old ?if_exists and globally replaced it with ! operator. But it does not work in <#if, freemarker complains that it does not evaluate to boolean. I don't remember that old debate when these new directives were being introduced. But currently I find it confusing, that ! does not evaluate to false. Why do we decided implement it this way? Leos ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword