Skip to main content

BIN FuBVa Documentation

  • Author:

  • Version: 22

  • Description: An standard grid control for a choice list with [lc.expression2] used to format the (complex) "Name" field showing the objects available in the context, [listItem] is a ParticleValue here (choice list). Insert a [Name] item to see.

  • Created: 2014-11-29

  • Modified: 2020-10-20

  • Source:

     Edit 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.expression2] used to format the (complex) "Name" field showing the objects available in the context, [listItem] is a ParticleValue here (choice list). Insert a [Name] item to see.'>
       <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' extra:nc.format='simple' />
        </choice> 
    </complexType>
    <complexType name='Name' extra:lc.escape='none' extra:lct.expression2='$!obj.dataObject.title $obj.dataObject.first $obj.dataObject.last'>
        <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>