Skip to main content

BIN txqzi Documentation

  • Author:

  • Version: 13

  • Description: Expandible Complex Control - Simple Example of a Search Form that can be expanded and collapsed loosing the data. Since [form.expand.keep-state=false] the section is cleared when collapsed and so can be collapsed also when data present in the sub form,...

  • Created: 2016-10-08

  • 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 - Simple Example of a Search Form that can be expanded and collapsed loosing the data. Since [form.expand.keep-state=false] the section is cleared when collapsed and so can be collapsed also when data present in the sub form, since data is lost in any case.'> 
        <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.nolabel='true'
    	extra:form.expand.keep-state='false'/>
    
    </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'
        />