Vai al contenuto principale

BIN 3uHQp Documentation

  • Author:

  • Version: 20

  • Description: Test for [grid.value.field] - An standard grid control containing columns that contain the value of an other column - note that does not work with editable grid ( form.listview=egrid ) - (4) DLHYv (200) ZwrDc (201)

  • Created: 2014-11-30

  • Modified: 2023-06-01

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Test for [grid.value.field] - An standard grid control containing columns that contain the value of an other column - note that @grid.value.field does not work with editable grid ( form.listview=egrid ) - bin:3uHQp?i=4 bin:DLHYv?i=200 bin:ZwrDc?i=201 '>
        <field name='users' maxOccurs='n' type='User' extra:form.listview='grid'/>
    </complexType>
    <complexType name='User' > 
        <field name='name' type='NotEmptyString' />
        <field name='created' type='xs:date' default='2010-03-27'/> 
        <field name='created2' type='xs:date' minOccurs='0' extra:form.skip='true' extra:grid.edit='false'  extra:grid.value.field='created'/> 
        <field name='numbers' type='xs:int' default='34' minOccurs='2' maxOccurs='n' extra:lc.simple='true'/>
        <field name='numbersFormatted' type='xs:int' minOccurs='0' extra:form.skip='true'  maxOccurs='n'  extra:grid.listformat='#all'  extra:grid.value.field='numbers' />
        <field name='roles' type='Role' extra:lct.expression='$obj' minOccurs='1' maxOccurs='n' extra:lc.simple='true'/>
        <field name='rolesFormatted' extra:xlct.expression='$obj' type='Role'  extra:lc.simple='true' extra:form.skip='true' extra:grid.value.field='roles' extra:grid.listformat='#all' extra:lct.field='role' minOccurs='0' maxOccurs='n'/> 
    </complexType>
    <complexType name='Role' extra:xlct.expression2='$!obj.html.role'>
        <field name='role' type='xs:string' minOccurs='1' >
            <facet name='enumeration' value='USER'/>
            <facet name='enumeration' value='ADMIN'/>
            <facet name='enumeration' value='SUPER'/>
            <facet name='enumeration' value='MANAGER'/>
        </field>
    </complexType>
    <simpleType name='NotEmptyString' type='xs:string' extra:form.empty='false'>
        <facet name='minLength' value='1'/>
    </simpleType>