Re: [FreeMarker-user] how to pass value from code to page template
Generates text that depends on changing data (like dynamic HTML).
Brought to you by:
revusky
From: Daniel D. <dd...@fr...> - 2012-05-11 21:29:48
|
Friday, May 11, 2012, 7:54:43 PM, Daniel Dekany wrote: > Friday, May 11, 2012, 5:56:58 AM, S Ahmed wrote: > >> Also, how do I check for not null and not empty? >> >> <#if title??> >> </#if> >> >> that checks for null only, what if I want to know if it is an empty string? ie.. "" > > <#if title!'' == ''> Ops... You wanted the inverse of the above, which is: <#if title!'' != ''> -- Best regards, Daniel Dekany |