hmm ... interesting that you didn't get a space ... i checked and I'm
certainly getting the space ...

here's a terrible terrible hack ... ;) ... it actually works ...

<FONT color="#if($Error)red#else$!{dead}black#end">

where the variable "dead" is not defined (not in the context)...

> -----Original Message-----
> From: Steve Ruby [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 2:08 PM
> To: [EMAIL PROTECTED]
> Subject: Re: VTL syntax
>
>
> Jason van Zyl wrote:
> >
> > > yah, a little hacky but i like it ... in VTL, however, since
> there are no
> > > delimiters for keywords except whitespace, i can't do it ... If i try:
> > >
> > > <FONT color="#if($Error)red#elseblack#endif">
> >
> > #if($Error)red#elseblack#end">
> >
> > There is no #endif
>
>
> Something similar on my end did not render properly as
> above, it actually printed out #elseblack
>
> something like this worked with no extra space in the output
>
> #if($Error)red#else black#end">

Reply via email to