Vai al contenuto principale

BIN s19Gv Documentation

  • Author:

  • Version: 13

  • Description: An standard grid control for a choice list with [lc.field] used to format the (complex) "Name" field showing all fields (#all). To see the example fill an item with a "Name" value.

  • Created: 2014-11-29

  • Modified: 2020-10-22

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='An standard grid control for a choice list with [lc.field] used to format the (complex) "Name" field showing all fields (##all). To see the example fill an item with a "Name" value.'>
        <field name='Employee' type='xs:string' />
        <field name='Date' type='xs:date' />
        <choice name='Identifiers' maxOccurs='n' extra:form.listview='grid' extra:lc.ordered='false' >
            <field name='email' type='NotEmptyString' extra:form.control='email'/>
            <field name='name' type='Name' />
            <field name='code' type='xs:int' />
        </choice> 
    </complexType>
    <complexType name='Name' extra:lct.field='##all'><!-- here specify to show field "last" as output -->
        <field name='title' type='xs:string' minOccurs='0' extra:form.maybenull='true' />
        <field name='first' type='NotEmptyString'  />
        <field name='last' type='NotEmptyString' />
    </complexType>
    <simpleType name='NotEmptyString' type='xs:string' extra:form.empty='false'><facet name='minLength' value='1'/></simpleType>