[EMAIL PROTECTED] wrote on 09/12/2003 03:27:12 PM:

>
> I've found some odd little things about Woody that may be features
> or bugs.  Not sure which.
>
> 1) asserts only seem to work for equalities.  This works:
>         <wd:assert test="Quantity1=Quantity2" />
> but this doesn't:
>         <wd:assert test="Quanty1 &lt; 3" />
> (OT: I wonder what happens when you try to assert the equality of
> two widgets of different base types, e.g., long and string?)
>

Additional info: no assert (not even equality) on boolean widgets :
        <wd:booleanfield id="CheckQuantity">
                <wd:datatype base="boolean">
                        <wd:validation>
                                <wd:assert test="Quantity1=Quantity2 />
                        </wd:validation>
                <wd:datatype>
        </wd:booleanfield>
doesn't work at all.

Reply via email to