Skip to main content

BIN bES4G Documentation

  • Author:

  • Version: 24

  • Description: Collection restricted to single value, the UI is that one of a single field. See how in JSON instance is still a collection / JSON array. Try also to load the instance with two items, it will be displayed as a list (unordered)

  • Created: 2017-03-11

  • Modified: 2020-12-16

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Collection restricted to single value, the UI is that one of a single field.  See how in JSON instance is still a collection / JSON array. Try also to load the instance with two items, it will be displayed as a list (unordered) '>
        <implements type='Base'/>
        <field name='Hello' maxOccurs='1' type='xs:string' extra:lc.index='false'/><!-- lc.index used when load 2 or more -->
        <field name='HelloSingle'  default='WorldSingle' type='xs:string' />
    </complexType>
    <complexType name='Base' description=''>
        <field name='Hello' default='World' maxOccurs='n' type='xs:string'/>
    </complexType>