Skip to main content

BIN A9JM6 Documentation

  • Author:

  • Version: 7

  • Description: Expandible Complex Control - Force Button Example - Search Form that can be expanded and collapsed but only if no data inside - collapse/expand button is a submit because of [form.expand.force-button]

  • Created: 2014-10-15

  • Modified: 2016-10-08

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Expandible Complex Control - Force Button Example - Search Form that can be expanded and collapsed but only if no data inside - collapse/expand button is a submit because of [form.expand.force-button] '>
        <field name='Name' minOccurs='0'  type='SearchString'/>
        <field name='Role' minOccurs='0'  type='SearchString'/>
       <field name='SearchContact' type='SearchContactType' 
    	minOccurs='0' extra:form.maybenull='true'
        extra:form.cview='expand' 
        	extra:form.expand.force-button='true'
        extra:form.nolabel='true'
        extra:form.position='9999'
        />
    </complexType>
    <complexType name='SearchContactType' >
        <field name='Address' minOccurs='0'  type='SearchString'/>
        <field name='Department' minOccurs='0'  type='SearchString'/>
    </complexType>
    <simpleType name='SearchString' type='xs:string' extra:form.maybenull='true'
         extra:ctrl.emptyisnull='true'
        />