velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Linwood" <j...@greenninja.com>
Subject Re: #*# causes lexical error?
Date Fri, 09 Aug 2002 19:58:45 GMT
> Also - uh, being diabolical - how do I output two (or more) bangs in the
> template?
> (i.e. I want ## output)
>
#set  ($hash = "#")
$hash$hash

There is probably a better way to do this with escaping, but I don't know
it.

Jeff
----- Original Message -----
From: "Tim Colson" <tcolson@cisco.com>
To: "'Velocity Users List'" <velocity-user@jakarta.apache.org>
Sent: Friday, August 09, 2002 2:33 PM
Subject: #*# causes lexical error?


> I was trying to make an #if#else#end block without extra spaces/newlines
> and accidently stuck in :
>
> #*#
>
> Caused quite a huff for the parser (see below) - the error is almost as
> cryptic as a JSP error for the template person to decipher. ;-)
>
> Also - uh, being diabolical - how do I output two (or more) bangs in the
> template?
> (i.e. I want ## output)
>
> Thanks,
> Tim
> P.S. It would really make me warm and fuzzy if _anybody_ would take a
> minute to comment on the last past I had regarding VELTOOLS ;-)
>
<exception snipped>


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message