Jerome,
Thanks for your suggestion, but it didn't seem to work...
Jerome Velociter-2 wrote:
>
> Try to replace
>
> #if (!$object.get("example_bool"))
>
> by
>
> #if (!$object.getProperty("example_bool").value)
>
> Hope this helps (haven't tested, I admit)
>
> Jerome.
>
I tried using:
#if (!$object.get("example_bool").value)
#if (!$object.getProperty("example_bool"))
#if (!$object.getProperty("example_bool").value)
All of these variations produce similar results, but not exactly the same as
the original method I tried. The only difference now is that all are being
equated to 'False' and none are 'True' (the exact opposite of the behavior
when using #if (!$object.get("example_bool"))). Still not the correct
output.
Any other ideas?
--
View this message in context:
http://n2.nabble.com/Trouble-assessing-boolean-property-value-of-an-object-tp1450033p1450689.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users