Skip to main content

BIN Do6gD Documentation

  • Author:

  • Version: 6

  • Description: $parent example on search form - from Eleusoft Application Documentation - Not performing any search, is just the form

  • Created: 2019-09-25

  • Modified: 2019-09-25

  • Source:

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

    Printers Embed Responsive

    <!-- helper simple type -->
    <simpleType name='OptionalSearchString' type='xs:string' 
    	extra:search='contains' 
    	extra:ctrl.emptyisnull='true' extra:form.maybenull='true'/>
    <complexType name='SearchPerson'>
    	<field name='FirstName' type='OptionalSearchString'/>
    	<field name='LastName' type='OptionalSearchString'/>
    	<field name='Company' type='OptionalSearchString'/>			
    </complexType>
    
    <complexType name='SearchPersonEx' description='$parent example on search form - from Eleusoft Application Documentation - Not performing any search, is just the form'>
    	<!--  here stay some fields of the simple form -->
    	<field name='FirstOrLastName' type='OptionalSearchString' 
    		extra:search.names='FirstName LastName' />
    	<!--  here is the standard form -->
    	<field name='StandardSearch' type='SearchPerson' 
    		extra:search.name='$parent'/>
    </complexType>