This is available in the latest nightly snapshot (1.5-dev) but not the most recently released 1.4


Download the nightly snapshot from: http://cvs.apache.org/snapshots/velocity/


WILL


----- Original Message ----- From: "Ken Lai" <[EMAIL PROTECTED]>
To: "Velocity Users List" <velocity-user@jakarta.apache.org>
Sent: Friday, April 15, 2005 1:05 PM
Subject: Newbie question: Formal notation for #if #else #end



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?

Thanks.


Ken Lai ***** End of Message ******

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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



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



Reply via email to