Thanks, good stuff.
2017-02-24 6:29 GMT+01:00 Jacques Le Roux :
> +1 for timeout
>
> Jacques
>
>
>
> Le 24/02/2017 à 01:12, Daniel Dekany a écrit :
>
>> There's a hidden feature in FreeMarker 2 that allows templates be
>> interrupted with Thread.interrupt(). This can be used to limit the
>> templ
+1 for timeout
Jacques
Le 24/02/2017 à 01:12, Daniel Dekany a écrit :
There's a hidden feature in FreeMarker 2 that allows templates be
interrupted with Thread.interrupt(). This can be used to limit the
template execution time (one thread processes the template, the other
waits for it to finis
There's a hidden feature in FreeMarker 2 that allows templates be
interrupted with Thread.interrupt(). This can be used to limit the
template execution time (one thread processes the template, the other
waits for it to finish with a timeout, and then interrupts the
template processing thread). To s
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
We would like to hook into loops (<#list>) to e.g. count the number of
iterations and react based on some business conditions. For example stop
with an Exception after 10k iterations.
I would think about some kind of callback which we can register which is
called by freemarker inside <#list> itera
On Thu, Feb 23, 2017 at 12:31 AM, Daniel Dekany wrote:
> Thursday, February 23, 2017, 12:22:52 AM, Woonsan Ko wrote:
>
>> On Wed, Feb 22, 2017 at 4:06 AM, Daniel Dekany wrote:
>>> I would like to remove these deprecated FM2 FTL constructs in FM3:
>>>
>>> - #escape, #no_escape (recently deprecated