How do I pass a boolean argument?
I've managed to pull off some clever stuff using SAS so far, but now I've run into something painfully simple that I can't figure out.
Can someone tell me how to pass a simple Boolean value as an argument to a method-invocation? For example:
Code:
<method-invocation name="addConverter">
<arg>
<object class="com.example.SomeConverter" />
</arg>
<arg>
{need to pass a Boolean value of true here}
</arg>
</method-invocation>
Thank you for any help!
Charles
A little different for 0.7.1
Your example works great for 0.8, but not for 0.7.1. However, I found a hack that works in 0.7.1, as long as you don't mind your XML editor complaining:
Code:
<arg>
<value>true</value>
</arg>