anjibman
2013-08-06 20:56:44 UTC
Hi All,
What is the short form of
<#if myDTO.field??>
${myDTO.filed?size}
<#else>
0
<#/if>
Right now I have ${myDTO.field ! "0"} which *doesn't* print size if
myDTO.field is not NULL.
--
View this message in context: http://freemarker.624813.n4.nabble.com/Short-form-of-if-else-tp4654720.html
Sent from the freemarker-user mailing list archive at Nabble.com.
What is the short form of
<#if myDTO.field??>
${myDTO.filed?size}
<#else>
0
<#/if>
Right now I have ${myDTO.field ! "0"} which *doesn't* print size if
myDTO.field is not NULL.
--
View this message in context: http://freemarker.624813.n4.nabble.com/Short-form-of-if-else-tp4654720.html
Sent from the freemarker-user mailing list archive at Nabble.com.