BIN eo7Ae Documentation
Author: Michele Vivoda
Version: 2
Description: Choice Control Basic Example - single occurrence nested choice - BUG why optional resolves options ? eo7Ae
Created: 2020-02-02
Modified: 2020-02-03
Source:
Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML<complexType name='Form' description='Choice Control Basic Example - single occurrence nested choice - BUG why optional resolves options ? bin:eo7Ae'> <choice name='City' extra:form.maybenull='false' extra:form.explanation='Select a city, you may change country' > <choice name='Italy' extra:form.maybenull='true' > <field name='Trieste' type='Item'/> <field name='Milano' type='Item'/> </choice> <choice name='Holland' extra:form.maybenull='true' > <field name='Amsterdam' type='Item'/> <field name='Haarlem' type='Item'/> </choice> </choice> <choice name='CityMayBeNull' extra:form.maybenull='true' extra:form.explanation='Select first a country, then a city' > <choice name='Italy5' extra:form.maybenull='true' > <field name='Trieste5' type='Item'/> <field name='Milano5' type='Item'/> </choice> <choice name='Holland5' extra:form.maybenull='true' > <field name='Amsterdam5' type='Item'/> <field name='Haarlem5' type='Item'/> </choice> </choice> <choice name='CityOptionalMayBeNull' minOccurs='0' extra:form.maybenull='true' extra:form.explanation='Select first a country, then a city' > <choice name='Italy2' extra:form.maybenull='true' > <field name='Trieste2' type='Item'/> <field name='Milano2' type='Item'/> </choice> <choice name='Holland2' extra:form.maybenull='true' > <field name='Amsterdam2' type='Item'/> <field name='Haarlem2' type='Item'/> </choice> </choice> <choice name='CityOptional' minOccurs='0' extra:form.explanation='Select first a country, then a city' > <choice name='Italy3' extra:form.maybenull='true' > <field name='Trieste3' type='Item'/> <field name='Milano3' type='Item'/> </choice> <choice name='Holland3' extra:form.maybenull='true' > <field name='Amsterdam3' type='Item'/> <field name='Haarlem3' type='Item'/> </choice> </choice> </complexType> <simpleType name='Item' type='xs:string' extra:form.hidden='true' extra:form.control='hidden'/> <complexType name='Book' description=''> <field name='Title' type='xs:string'/> <field name='Author' type='xs:string'/> </complexType>application/xml //efbin.org/osk/eo7Ae //efbin.org/bin/eo7Ae Eleusoft ARIA