Skip to main content

BIN AeXEn Documentation

  • Author:

  • Version: 13

  • Description: Test for grid with one list field - this is the case that would need config if admit container types like Employees on list controller - it is true that is more clear with grid but the types make no sense: a list of complex whose only field is a list.....

  • Created: 2020-12-05

  • Modified: 2020-12-05

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Test for grid with one list field - this is the case that would need config if admit container types like Employees on list controller - it is true that is more clear with grid but the types make no sense: a list of complex whose only field is a list..why not  a single list directly ? ' extra:form.ccontrol='table' extra:ccc.captionup='true'>
        <field name='date' type='xs:date' />
        <field name='Simple' maxOccurs='n' type='RowSimple' extra:form.listview='egrid' extra:lc.edit='false' extra:lc.buttonright='true'/>
        <field name='Complex' maxOccurs='n' type='RowComplex' extra:form.listview='egrid' extra:lc.edit='false' extra:lc.buttonright='true'/>
        <field name='SimpleNoGrid' maxOccurs='n' type='RowSimple' />
        <field name='ComplexNoGrid' maxOccurs='n' type='RowComplex' />
        <field name='SimpleDirect' type='xs:int' minOccurs='2' maxOccurs='n' />
        <field name='ComplexDirect' type='RowComplex' minOccurs='2' maxOccurs='n' />
    </complexType>
    <complexType name='RowSimple' >
        <field name='rows' type='xs:int' minOccurs='2' maxOccurs='n' extra:lc.simple='true' extra:grid.listformat='#all' />
    </complexType>
    <complexType name='RowComplex' >
        <field name='rows' type='Address' minOccurs='2' maxOccurs='n' extra:lc.simple='true' extra:grid.listformat='#all' />
    </complexType>
    <complexType name='Address' description=''>
        <field name='Street' default='Via Longa 13' type='xs:string'/>
        <field name='city' type='xs:string'/>
    </complexType>