Hi Ken,

> Suppose I have the following:
> 
> 123#if(1==1)456#end789
> 
> I want the result to be 123456789. I ran a test
> and Velocity doesn't seem to recognize #end. So I
> tried formal notation as mentioned in
> (http://jakarta.apache.org/velocity/user-guide.html#Directives)
> with the following code:
> 
> 123#if(1==1)456#{end}789
> 
> Velocity still blows up. It doesn't look like the
> formal notation is recognized. I found a hack to
> do it like the following (which works):
> 
> 123#if(1==1)456#end$!{DELIM}789
> 
> Question: Is this a known issue? When will it be
> fixed?

This feature will be available from Velocity 1.5.  Not being released
yet, you can get it directly from the Subversion repository, or from
the nightly snapshots.  :)
    http://jakarta.apache.org/velocity/install.html

Best regards,
-- Shinobu

--
Shinobu Kawai <[EMAIL PROTECTED]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to