1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
<?xml version="1.0" standalone="yes"?>
<wo class="WORadioButton">
<binding name="selection" passthrough="NO" settable="YES"/>
<binding name="checked" passthrough="NO" settable="YES"/>
<binding name="name"/>
<binding name="value"/>
<binding name="disabled" passthrough="NO" defaults="YES/NO"/>
<binding name="otherTagString" passthrough="NO"/>
<validation message="exactly one of 'checked' or 'value' must be bound">
<count test="!=1">
<bound name="checked"/>
<bound name="value"/>
</count>
</validation>
<validation message="if either 'selection' or 'value' is bound, then both must be bound">
<and>
<or>
<bound name="selection"/>
<bound name="value"/>
</or>
<count test="<2">
<bound name="selection"/>
<bound name="value"/>
</count>
</and>
</validation>
</wo>
|