Vai al contenuto principale

BIN qp8ZE Documentation

  • Author:

  • Version: 16

  • Description: Test enum with wrong initial value and show-invalid *false*. Both standard input and code-label are tested. The invalid default value [3] is not displayed because of [aclec.showinvalid="false"]

  • Created: 2014-10-15

  • Modified: 2015-01-25

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Test enum with wrong initial value and show-invalid *false*. Both standard input and code-label are tested. The invalid default value [3] is not displayed because of [aclec.showinvalid="false"]'>
        <field name='ChooseOneColor' type='ColorEnum' minOccurs='0' default='3' extra:form.maybenull='true' extra:ctrl.emptyisnull='true' extra:aclec.showinvalid='false'
      ></field> 
       <field name='ChooseOneColorCodeLabel' type='ColorEnum' minOccurs='0' default='3' extra:form.maybenull='true' extra:ctrl.emptyisnull='true' extra:aclec.showinvalid='false'
     extra:form.control='CodeLabel' ></field> 
      <field name='ChooseOneColorCodeLabelDefaultRed' type='ColorEnum' minOccurs='0' default='Red' extra:form.maybenull='true' extra:ctrl.emptyisnull='true' extra:aclec.showinvalid='false'
     extra:form.control='CodeLabel' ></field> 
    
    
    </complexType>
    
     
    <simpleType name='ColorEnum' type='xs:string'>
        <facet name='enumeration' value='Red'/>
        <facet name='enumeration' value='Green'/>
        <facet name='enumeration' value='Blue'/>
        <facet name='enumeration' value='Yellow'/>
        <facet name='enumeration' value='Brown'/>
        <facet name='enumeration' value='Aqua'/>
        <facet name='enumeration' value='Gold'/>
        <facet name='enumeration' value='Pink'/>
    </simpleType>