Vai al contenuto principale

BIN nqJbX Documentation

  • Author:

  • Version: 15

  • Description: Example of PLAIN CHOICE control. no item selected at begin

  • Created: 2017-08-25

  • Modified: 2017-08-25

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Example of PLAIN CHOICE control. no item selected at begin '>
    	<choice name='MyChoice' extra:choice.css='well' extra:form.choiceview='plain' extra:form.maybenull='true' ><!-- wait update lib minOccurs='0' 201708 --> 
    			<field name='amount' type='xs:decimal' extra:form.control='currency' extra:currency.code='EUR' default='0'/>
    			<field name='amounts' type='Amount' maxOccurs='2'  extra:lc.ordered='false' extra:lc.simple='true' /> 
    	</choice>
    </complexType>
    
    <complexType name='Amount'> 
      <field name='target' type='xs:string' />
     <field name='amount' type='xs:decimal' extra:form.control='currency' extra:currency.code='EUR' default='0'/>
    			
    </complexType>