Vai al contenuto principale

BIN e2paY Documentation

  • Author:

  • Version: 20

  • Description: A list of uniquely keyed items, the key is optional to check that it is required, try to switch to [unique] to test - [key] 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

    Printers Embed Responsive

    <complexType name='Form' description='A list of uniquely keyed items, the key is optional to check that it is required, try to switch to [unique] to test - [key] Instance constraint example from Eleusoft Application Documentation'>
        <field name='Item' minOccurs='2' maxOccurs='5' extra:lc.simple='true' extra:lc.buttonsright='true' type='Item'/>
        <constraint name='EachItemMustHaveUniqueKey' 
          category='key' selector='./Item'>
            <expression path='Key'/>
        </constraint>
    </complexType>
    <complexType name='Item' >
        <field name='Key' type='xs:string' extra:ctrl.emptyisnull='true' minOccurs='0' extra:form.maybenull='true'/>
    </complexType>