[prev in list] [next in list] [prev in thread] [next in thread]
List: velocity-user
Subject: Re: Newbie question: Formal notation for #if #else #end
From: Ken Lai <its_me_ken_lai () yahoo ! com>
Date: 2005-04-15 21:25:21
Message-ID: 20050415212522.35314.qmail () web50207 ! mail ! yahoo ! com
[Download RAW message or body]
Wow I walked away for some tea and I already got
a few responses. Thanks to everyone for their
responses and keep up the good work!
--- Charles Harvey III <charlieh@alloy.com>
wrote:
> Comment tags can do the job for now too:
>
> 123#if(1==1)456#end#**#789
>
> That's what I usually wind up doing if I have
> to.
>
>
> Charlie
>
>
> Ken Lai said the following on 4/15/2005 4:05
> PM:
>
> >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:
> velocity-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail:
> velocity-user-help@jakarta.apache.org
> >
> >
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> velocity-user-help@jakarta.apache.org
>
>
Ken Lai
***** End of Message ******
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic