velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Toppe" <>
Subject Re: RES: Question on recursion in macros
Date Tue, 05 Oct 2004 20:10:53 GMT

> apparently works and the recursion in test macro works too, it causes a
> stack overflow

Is there any way to limit the depth of the recursion (I can't find
anything)? StackOverflows are nasty especially if you let dumb users write
templates and they feel like they can crash you app.

#macro ( showInfo $p )
 Info: $p

The same code also crashes in Intellij Idea when put in the file templates
(it used veloc) ;)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message