It's was not a copy error, but the error itself ! Thanks guys ! Best regards, Michel.
-----Mensagem original----- De: Shinobu Kawai [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 30 de setembro de 2004 01:55 Para: Velocity Users List Assunto: Re: RES: Question on recursion in macros Hi Michel, > #macro (generateflow $flow) > #foreach($step in $flow.steps) > #if ($flow.hasChildren) > #generateFlow($flow.children.get("${step.id}-subflow"))) > #end > #end > #end > Calling "#generateFlow($flow.children.get("${step.id}-subflow")))" > does not work, but calling a test macro like > "#test($flow.children.get("${step.id}-subflow")))" > apparently works and the recursion in test macro works too, it causes a > stack overflow. Could this be a case-sensitive issue? The macro is defined "generateflow", but you are calling "generateFlow" with a capital "F". Sorry if it's just another copy mistake. Best regards, -- Shinobu Kawai -- Shinobu Kawai([EMAIL PROTECTED]) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]