Skip to main content

BIN PNLtZ Documentation

  • Author:

  • Version: 12

  • Description: Example of [choice.inline] that shows how the container of the selected value, marked with [class=well] does not show up.

  • Created: 2014-09-03

  • Modified: 2014-09-03

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Example of [choice.inline] that shows how the container of the selected value, marked with [class=well] does not show up.'>
    	<choice name='MyChoice' extra:choice.css='well' extra:choice.inline='true'>
    			<field name='String'/>
    			<field name='Address' type='Address'/> 
    			<field name='Min10List' minOccurs='10'/> 
    	</choice>
    </complexType>
    
    <complexType name='Address'> 
      <field name='street' type='xs:string' />
      <field name='city' type='xs:string'  />
      <field name='zip' type='xs:int' extra:html5='false'   />
    </complexType>