Re: variable?? is not checking for null ... please help
marcusadamski <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Many thanks for the feedback. Before I received the responses, I also found the following worked: <#assign result = mypackage.function()!> <#if result.property??> .. where "property" will be used in the logic after the conditional "if" >From your feedback, I now understand why the "<#if result??> " doesn't work, as "result" at this stage is an empty string... Many thanks for your speedy help! Marc -- View this message in context: http://freemarker.624813.n4.nabble.com/variable-is-not-checking-for-null-please-help-tp4654193p4654196.html Sent from the freemarker-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/