velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Mielnik <tomasz.miel...@tdcinternet.pl>
Subject Re: velocity runs method twice
Date Thu, 01 Aug 2002 09:33:31 GMT
Geir Magnusson Jr. wrote:
>>So it looks for me as it's called twice
>>My question is: Is Velocity calling this method twice or is it other problem?
>>
> I does look like the template is getting rendered twice.
> 
> How about doing error.vm as
> 
>   Foo
>   #parse("header.vm")
>   
> 
> And see if you get two Foo's.
> 

Nope. I get one foo :(
I;ve put foo also in header to see if this .vm is parset once or more 
times. but as above it displays one foo.
i' must look at my class again bcoz it looks like velocity is doing well.

-- 
---t.m.-----------------------------
Tomasz Mielnik / TDC Internet Polska


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message