you're looking for the <if-compare> method. if-copmpare compares a field to a value
<if-compare operator="less" field-name="" value="" format="" map-name="" type="String"> --- Jacques Le Roux <[EMAIL PROTECTED]> wrote: > It's perhaps a stupid question (just a quick one, actually I did not > look at simple-method.xsd) > > Why is there no value attribute in the if-compare-field element ? > > So we have to write something like > > <set field="Not" value="N"/> > <if-compare-field field-name="res.res1" operator="equals" > to-field-name="Not"> > > Where we could have something intuitive like > > <if-compare-field field-name="res.res1" operator="equals" value="N"> > > Thanks > > Jacques > >
