BrianJones wrote:
> Sergiu,
> 
> Thanks again, but just to clarify things, does TRUE==0 and FALSE==1?
> 

--- = -1
False = 0
True = 1

And to answer another of your questions, --- means something like
unselected, not answered, neither. I know it doesn't quite fit in the
boolean logic, but otherwise there's no way of having neither true nor
false for a field.

> Sergiu Dumitriu-2 wrote:
>> #if (!$object.getProperty("example_bool").value == 1)
>>
>> The property value is an integer, not a boolean.
>>
> 


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to