Vai al contenuto principale

BIN JGn4y Documentation

  • Author:

  • Version: 17

  • Description: test of readonly print form from schema configuration

  • Created: 2014-10-17

  • Modified: 2014-10-30

  • Source:

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

    Printers Embed Responsive

    <complexType name="ModelColor" extra:form.ccontrol="print" description='test of readonly print form from schema configuration'>
                <choice name="ColorChoice" minOccurs='1' caption="Please, choose one of the following colors for your computer:" 
    				extra:choice.inline='true'
    				extra:choice.autosubmit='true' >
    <field name='Address' type='Address'/>
                    <field name="BLACK" default='0' type='HiddenDefaultPrice' caption='Black'/>
                    <field name="RED" default='0' type='HiddenDefaultPrice' caption='Red'/>
                    <field name="YELLOW" default='-15' type='HiddenDefaultPrice' caption='Yellow (-15 EUR)'/>
                </choice>
            </complexType>
    
    <simpleType name='HiddenDefaultPrice' type='xs:string'/>
    
    
    <complexType name='Address' description=''>
    	<field name='Street' default='Main Street, 345' type='xs:string'/>
    	<field name='City' default='London' type='xs:string'/>
    </complexType>