Oops. i just noticed that Claude beat me to this answer. :) So, what version of Velocity are you using and what happens if you do:
$bean.anagrafiche $bean.anagrafiche.size() On Mon, Nov 10, 2008 at 8:21 AM, Nathan Bubna <[EMAIL PROTECTED]> wrote: > There is the directive.foreach.maxloops property, but by default that > is set to Integer.MAX_VALUE, which is much higher than 160. So, i > doubt that's the problem. > > On Mon, Nov 10, 2008 at 1:18 AM, Luca Paoli <[EMAIL PROTECTED]> 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 >> >> --------------------------------------------------------------------- >> 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]
