velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dezider Mesko <>
Subject null, true, false
Date Tue, 26 Jun 2007 17:33:18 GMT
I want to have checked html checkbox when my value is undefined (default 
value is checked) or variable is true.

<input #errorClass("aktivni") size="30" id="aktivni" type="checkbox" 
name="aktivni" #if($OsobaNovaForm.aktivni==false) #else checked#end/>

This of course doesnt work. Some ideas how to distinguish false and null 

thx d.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message