(no need to post your question several times...)

Yes, there is a configuration flag to limit iterations
(directive.foreach.maxloops) but it is not set by default and its
default value is Integer.MAX_INT (2147483647), so I guess the problem is
elsewhere. Is there something in your error log?


  Claude

On lun, 2008-11-10 at 13:53 +0100, Luca Paoli wrote:
> Hi all,
> I have a problem with the foreach statement
> It stops evaluation after a certain amount of iterations in my case
> almost 160 I've seen in the source code that it uses a variable
> something like maxNumIterations so I'm wandering do I have to set
> anything to have velocity keep looping?
> Thanks for any help
> 
> The template is very simple
> #foreach ($anagrafica in $bean.anagrafiche)
>       
> \t$anagrafica.getTipo()\t$anagrafica.getNome1()\t$anagrafica.getIndirizzo()
>       \t\n
> #end
> 
> ps sorry if this message shows up twice
> 
> Luca
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to