default just calls Configuration.getTemplate(...)). That can
be useful for other purposes as well, so maybe it has enough applications to
warrant the extra complexity. Any thoughts?
Tuesday, August 1, 2017, 1:46:37 PM, Mickel Daelmans | Add to Favorites wrote:
> Hi group,
&g
Hi group,
Can we use a different TemplateLoader from "Configuration.getTemplate" to use
for <#import/> and <#include/> directives?
We don't want template authors to load other templates in their templates. We
only want to be able to include specific files from a specific directory (which
we
Something like http://freemarker.org/docs/ref_directive_list.html#autoid_107 ?
Or use your own iterator:
<#assign i = 0 />
<#list items as item>
<#assign i = i + 1 />
<#if i == 1>
//break / stop / throw exception
//do stuff in loop
Mickel Daelmans
Developer
Goem