Vai al contenuto principale

BIN BDtD1 Documentation

  • Author:

  • Version: 1

  • Description: Choice Control Basic Example - single occurrence optional choice using maybenull to require user to make a choice

  • Created: 2020-02-19

  • Modified: 2020-02-19

  • Source:

     Modifica Bin W3C Schema Json-Schema Java Bean Code Default Value as XML

    Printers Embed Responsive

    <complexType name='Form' description='Choice Control Basic Example - single occurrence optional choice using maybenull to require user to make a choice '>
        <choice name='MyChoice' minOccurs='1' extra:form.maybenull='true'>
            <field name='Integer' type='xs:int' />
    	<field name='Date' type='xs:date' />
            <field name='Book' type='Book' />
    	</choice>
        <choice name='MyChoiceOptional' minOccurs='0' extra:form.maybenull='true'>
            <field name='Long' type='xs:long' />
    	<field name='Time' type='xs:time' />
            <field name='Movie' type='Book' />
    	</choice>
    </complexType>
    
    
    <complexType name='Book' description=''>
    	<field name='Title' type='xs:string'/>
    	<field name='Author' type='xs:string'/>
    </complexType>