You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Tomasz Mielnik <to...@tdcinternet.pl> on 2002/08/01 11:33:31 UTC

Re: velocity runs method twice

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>