BIN awrXN Documentation
Author: Michele Vivoda
Version: 2
Description: Sum must be 100 - Velocity Grammar Variation - Instance constraint example from Eleusoft Application Documentation
Created: 2014-09-21
Modified: 2014-09-21
Source:
Modifica Bin W3C Schema Json-Schema Java Bean Code Default Value as XML<complexType name='Form' description='Sum must be 100 - Velocity Grammar Variation - Instance constraint example from Eleusoft Application Documentation'> <field name='A' minOccurs='1' type='xs:int' node='attribute'></field> <field name='B' minOccurs='1' type='xs:int' node='attribute'></field> <constraint name='SumMustBeHundred' category='boolean' selector='.'> <expression grammar='velocity' path='#if(($value.getInteger("A") + $value.getInteger("B"))==100) true #end'></expression> </constraint> </complexType>application/xml //efbin.org/osk/awrXN //efbin.org/bin/awrXN Eleusoft ARIA