Skip to main content

BIN wzgbL Documentation

  • Author:

  • Version: 19

  • Description: ctrl.emptyisnull on complex field - if no value for any field of Address then Address not in the result XML, if one value, all must be present, note how is like ctrl.emptyisnull="true" were inherited by Address fields

  • Created: 2015-02-04

  • Modified: 2015-05-19

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='ctrl.emptyisnull on complex field - if no value for any field of Address then Address not in the result XML, if one value, all must be present, note how is like
    ctrl.emptyisnull="true" were inherited by Address fields '>
    <field name='Name' type='xs:string'/>    
    <field name='Address' type='Address' minOccurs='0' extra:form.maybenull='true' extra:ctrl.emptyisnull='true'/>
    </complexType>
    <complexType name='Address'  >
        <field name='Street' type='xs:string' extra:html5='false'  />
        <field name='City' type='xs:string'  extra:html5='false' />
        <field name='Date' type='xs:date'  extra:html5='false' />
    </complexType>