Skip to main content

BIN g5RZ2 Documentation

  • Author:

  • Version: 8

  • Description: Variation with [lct.fieldhaslabel]=false 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 or load a saved instance. bin:...

  • Created: 2015-10-16

  • Modified: 2020-02-21

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Variation with [lct.fieldhaslabel]=false 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 or load a saved instance. bin:IOVUS'>
        <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>
    <!-- here specifies no label for child fields of Name -->
    <complexType name='Name' extra:lct.field='##all' extra:lct.fieldhaslabel='false' >
        <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>