Vai al contenuto principale

BIN x9iwL Documentation

  • Author:

  • Version: 7

  • Description: An standard grid control for a choice list with [lc.expression2] used to format the (complex) "Name" field showing title, first and last name, with HTML decoration and [lc.escape=false]. To see the example fill an item with a "Name" value.

  • Created: 2014-11-29

  • Modified: 2014-11-29

  • 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.expression2] used to format the (complex) "Name" field showing title, first and last name, with HTML decoration and [lc.escape=false]. To see the example fill an item with a "Name" value.'>
       <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:lc.escape='none' extra:lct.expression2='$!obj.html.title  &lt;em>$obj.html.first&lt;/em> &lt;b>$obj.html.last&lt;/b> '>
        <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>