Skip to main content

BIN pVcYp Documentation

  • Author:

  • Version: 61

  • Description: A standard grid control containing two lists: one of numbers (simple) and one of roles (complex). They both use grid.[listformat=] to format each item and the complex list use [lct.field] to show the [role.name] field. Fill it to see it.

  • Created: 2014-11-29

  • Modified: 2020-10-22

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='A standard grid control containing two lists: one of numbers (simple) and one of roles (complex). They both use grid.[listformat=#all] to format each item and the complex list use [lct.field] to show the [role.name] field. Fill it to see it. '>
        <field name='users' maxOccurs='n' type='User' extra:form.listview='grid'/>
    </complexType> 
    <complexType name='User' > 
         <field name='numbers' type='xs:int' minOccurs='1' extra:lc.simple='true'  maxOccurs='n'  extra:grid.listformat='#all'  />
        <field name='roles' type='Role'  extra:lc.simple='true' extra:grid.listformat='#all' extra:lct.field='name' minOccurs='1' maxOccurs='n'/> 
    </complexType>
    <complexType name='Role' >
        <field name='name' extra:form.nolabel='true' 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>