velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Mielnik <>
Subject Re: velocity runs method twice
Date Thu, 01 Aug 2002 09:50:08 GMT
Geir Magnusson Jr. wrote:

> I does look like the template is getting rendered twice.

OK i solved that problem.
i did something like this:

ctx.put ("errormsg",errormsg);
and then calling $errormsg.getMEssage (); didn't work.
but whe i do

ctx.put ("errormsg",errormsg.getMessage());
ant in template:
#foreach($emsg in $errormsg)

it work and it solves the problem but btw i wonder why previus verions 
was parsed twice? it should not. any ideas?

Tomasz Mielnik / TDC Internet Polska

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

View raw message