From: Holger K. <ki...@di...> - 2006-03-06 15:55:31
|
Hi Group, is it possible to realize a webmacro recursion within a webmacro template like: #macro counter($counterParam) { CounterParam: $counterParam<br/> #set $digit = $counterParam + 1 #if($digit < 10) $digit < 10! #counter($digit) #end #else $digit >= 10 #end } #counter(1) I always get an StackOverflowError when calling the above template. If the are alternatives using other webmacro directives implementing a recursion logic, tell me further details. Thanx in advance. Kind regards, Holger King |