Skip to main content

BIN lf6aA Documentation

  • Author:

  • Version: 2

  • Description: Example of CHOICE form.maybenull=true and optional/required ALL CASES

  • Created: 2020-01-02

  • Modified: 2020-01-02

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Example of CHOICE  form.maybenull=true and optional/required ALL CASES'> 
    	<choice name='ChoiceOptional' minOccurs='0' > 
    			<field name='A1' />
    			<field name='B1'/>
    	</choice>
    	<choice name='ChoiceOptionalMayBeNullTrue' minOccurs='0' extra:form.maybenull='true' > 
    			<field name='A2' />
    			<field name='B2'/>
    	</choice>
    	
    	<choice name='ChoiceReqMayBeNullTrue' minOccurs='1' extra:form.maybenull='true' > 
    			<field name='A' />
    			<field name='B'/>
    	</choice>
    	<choice name='ChoiceRequired'> 
    			<field name='A3' />
    			<field name='B3'/>
    	</choice>
    	
    </complexType>