Skip to main content

BIN mG88q Documentation

  • Author:

  • Version: 1

  • Description: Expandible Complex Control - Example of a Search Form that can be expanded with two levels of nesting. It can be collapsed only when data is not present in the sub form(s) - note how the form "remembers" the visibility state of the nested form

  • Created: 2019-11-10

  • Modified: 2019-11-10

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Expandible Complex Control - Example of a Search Form that can be expanded with two levels of nesting. It can be collapsed only when data is not present in the sub form(s) - note how the form "remembers" the visibility state of the nested form' 
    	extra:form.cview='expand' extra:form.expand.always-if-value='true'
    	>
        <field name='Name' minOccurs='0'  type='SearchString' />
        <field name='Date' minOccurs='0'  type='xs:date' extra:form.maybenull='true'
         	extra:ctrl.emptyisnull='true'/>
        <field name='SearchContact' type='SearchContactType' 
        	minOccurs='0' extra:form.maybenull='true'
        	extra:form.cview='expand' 
        extra:form.nolabel='true'/>
    </complexType>
    <complexType name='SearchContactType' >
        <field name='Address' minOccurs='0'  type='SearchString'/>
        <field name='DepartmentNr' minOccurs='0'  type='xs:int' extra:form.maybenull='true'
         extra:ctrl.emptyisnull='true'/>
        <field name='Date' minOccurs='0'  type='xs:date' extra:form.maybenull='true'
         extra:ctrl.emptyisnull='true'/>
    </complexType>
    <simpleType name='SearchString' type='xs:string' extra:form.maybenull='true'
         extra:ctrl.emptyisnull='true'
        />