Re: default value for boolean
Jonathan Revusky <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
You need <#if var??>....</#if> On Thu, Jan 29, 2009 at 4:59 PM, Leos Literak <[email protected]> wrote: > 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 > _______________________________________________ > FreeMarker-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freemarker-user > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword