No. But you can do:

#set($value = "#if($flag)red#{else}blue#end")


  Claude

On jeu, 2008-11-13 at 17:31 -0600, Ravindra Medarametla wrote:
> Hi, 
> 
>  
> 
> 
> 
> Could you tell me  whether velocity templates ternary opertatot(?:)?
> 
>  
> 
> 
> 
> Thanks,
> 
> Ravindra.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to