cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mratl...@collegenet.com
Subject Re: odd little Woody things
Date Fri, 12 Sep 2003 23:04:54 GMT
mratliff@collegenet.com 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.
Mime
View raw message