yes yes yes ... that's probably what i'll end up using ... ;) ... i just
like to torment people a bit ... :)
(btw, is there a way to do this with a velocimacro? ... like the IIF()
function that steve suggested a few messages ago)
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Geir Magnusson Jr.
> Sent: Wednesday, February 21, 2001 3:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: VTL syntax
>
>
> David Esposito wrote:
> >
> > 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)...
>
>
> Ugh.
>
> Just for grins, what's wrong with :
>
> <FONT #if($Error) color="red" #else color="black" #end >
>
> ?
>
> geir
>
>