Re: help:missing value test (node??) is not working
krist0ph3r <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
I've found that checking for a node's existence doesn't work unless you check for the 1st element in that node. In your example: <#if mouse[0]??> Mouse found <#else> No mouse found </#if> however, if mouse is a variable and not a node (and you're checking if it is defined, not if it exists), you can just use mouse?? as you have in your question. -- View this message in context: http://freemarker.624813.n4.nabble.com/help-missing-value-test-node-is-not-working-tp1895153p3585177.html Sent from the freemarker-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev