velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenjian <>
Subject #stop problem
Date Tue, 08 Jun 2004 03:34:09 GMT

I am using version 1.4 (the stable release) of velocity. I am trying to put 
#stop in an #if #end structure, so that the page could have some alternative 

#if ($myvariable)

But I got the following error:
org.apache.velocity.exception.ParseErrorException: Encountered "" at line 31, 
column 9.

Interesting thing is that, if I put #stop outside of the #if statement block, 
it works. But that defeats the purpose of having #if block there.

Could anyone shed some light on this problem?

Thanks a bunch in advance,


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

View raw message