velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: VTL syntax
Date Wed, 21 Feb 2001 19:40:55 GMT
David Esposito wrote:

> 
> <FONT color="#if($Error)red#elseblack#endif">
> 
> it just plain doesn't work ... i tried the following, it evaluates correctly
> but the fact that there is a leading space in the color="" value causes the
> browser to not render the font the way I want it ...
> 
> <FONT color="#if($Error)red#else black#endif">

<FONT #if($error) color="red" #else color="black" #end >

(we don't have an #endif :)
 
> any suggestions? any chance that you could add an optional semicolon
> delimiter or something to the keyword so that I can inline it without having
> to use whitespace to seperate it out?

NO.

> 
> thanks in advance ..
> 
> -dave

-- 
Geir Magnusson Jr.                               geirm@optonline.com

Developing for the web?  See http://jakarta.apache.org/velocity/

Mime
View raw message