Skip to main content

BIN cT32A Documentation

  • Author:

  • Version: 8

  • Description: Editable Complex Control - Address Optional - output html with [form.editable.expression.escape=none] expression must use Velocity since with XPath is impossible to escape properly the values when emitting HTML

  • Created: 2014-11-30

  • Modified: 2015-05-21

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Editable Complex Control - Address Optional - output html with [form.editable.expression.escape=none]  expression must use Velocity since with XPath is impossible to escape properly the values when emitting HTML'>
        <field name='Name' type='xs:string'/>
        <field name='BirthDate' type='xs:date'/>
        <field name='Address' 
    	extra:form.editable.expression='$obj.html.Street, &lt;b>$obj.html.City&lt;/b>'
    	extra:form.editable.expression.grammar='velocity'	
    	extra:form.editable.expression.escape='none'
    	extra:form.editable.remove.label=''
    	extra:form.maybenull='true' 
    	minOccurs='0'  
    	extra:form.cview='edit' 
    	type='AddressType'/>
    </complexType>
    <complexType name='AddressType'>
        <field name='Street' type='xs:string'/>
        <field name='City' type='xs:string' default='Amsterdam' />
    </complexType>