velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Bauman" <>
Subject Re: Velocity exits foreach loop in macro unpredictably,
Date Mon, 05 Nov 2001 16:15:37 GMT
> Nick,
> This bug may be related to your problem.
> <>.
> Bottom line: Make sure that template caching is on in production if it
> is not. You may have to play with macros inline local scope setting
> too.
> -Peter

When I fooled with the inline stuff I got wierd results because I was
reusing the same I now make a new VelocityContext for
each merge(), so maybe I can turn that on again. It's worth a try???

Thanks, and I'll give caching a try too and report back.

> I'm not so sure - if he was seeing that, it would be the case that he
> saw #<macroname> in the output for each call.

I wasn't seeing #<macroname> at all.

> -- 
> Geir Magnusson Jr.                                    
> System and Software Consulting
> "He who throws mud only loses ground." - Fat Albert


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

View raw message