Skip to main content

BIN LsoaB Documentation

  • Author:

  • Version: 11

  • Description: Example of grid nested in grid with grid.nested=true (118) RjRsM (117) 9tP3i (123) efky6 (12)

  • Created: 2020-02-20

  • Modified: 2023-06-01

  • Source:

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

    Printers Embed Responsive

    <complexType name="PLAY" description='Example of grid nested in grid with grid.nested=true bin:LsoaB?i=118 bin:RjRsM?i=117 bin:9tP3i?i=123  bin:efky6?i=12' extra:form='true'>
        <!--  a trick to show Description in form but not in result Xml -->
        <field name='Description' 
    				extra:form.control='noValue' 
    				extra:form.maybenull='true' 
    				minOccurs='0' 
    				default='Shakespeare Forms, Michele Vivoda 2003-2013'/>
        <field name='TITLE'/>
       
        <field name='SCNDESCR'/>
        <field name='PLAYSUBT'/>
        <field reftype='ACT' maxOccurs='n' extra:form.listview='grid'/>
    </complexType>
    <complexType name='ACT'>
        <field name='TITLE'/>
        <field name='PROLOGUE' type='SCENE' minOccurs='0' extra:lct.field='TITLE'/>
        <!--  20200219 this is now displayed as full grid.. no diff with extra:grid.listformat='#all'
    			andextra:grid.listformat='' but removing form.listview='grid' works in
    			first screen but not in 2nd  -->
        <field reftype='SCENE' maxOccurs='n' extra:grid.nested='true' extra:form.listview='egrid'/>
    </complexType>
    <complexType name='SCENE'>
        <field name='TITLE'/>
        <field name='STAGEDIR' extra:form.control='TextArea'/>
    </complexType>