Re: help:missing value test (node??) is not working

Jeremy Chone <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
I have notice that as well, I think you need to do something like ?is_node

2010/4/15 Bilel AMMAR <[email protected]>:
> Hello,
> i have a problem with the missing value Test
> Indeed, the test is always evaluating a true value
> I tested the simple example of freemarker docs
> http://freemarker.sourceforge.net/docs/dgui_template_exp.html#dgui_template_exp_missing_test
> ________________________________
> <#if mouse??>
> Mouse found
> <#else>
> No mouse found
> </#if>
> ----> the result should be
> No mouse found
> ________________________________
> But always, i obtain "Mouse found"... i think the node?? test is always
> evaluating true result even if the variable doesn't exist
>
> who have any idea for help?
> thx
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> FreeMarker-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freemarker-user
>
>



-- 
Jeremy Chone
+1 415 699 9912

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.