Skip to main content

BIN Tt5a8 Documentation

  • Author:

  • Version: 13

  • Description: A test for a Velocity [lc.expression] used to format the (complex) "Contact" field showing title, first and last name. To check it out load a saved instance like (128) - see also 4pL6m (130) TY5Xg (129)

  • Created: 2020-10-19

  • Modified: 2020-11-19

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='A test for a Velocity [lc.expression] used to format the (complex) "Contact" field showing title, first and last name. To check it out load a saved instance like bin:Tt5a8?i=128 - see also   bin:4pL6m?i=130 bin:TY5Xg?i=129'>
        <field name='ContactNotes' type='ContactNote' extra:form.listview='grid'  maxOccurs='n'/>
    </complexType>
    <complexType name='ContactNote' >
        <field name='Contact' type='Contact' />
        <field name='Note' type='xs:string' />
    </complexType>
    <complexType name='Contact' extra:lct.expression='$!obj.title  $obj.first $obj.last '>
        <field name='title' type='xs:string' minOccurs='0' extra:form.maybenull='true' />
        <field name='first' type='NotEmptyString' />
        <field name='last' type='NotEmptyString' />
    </complexType>
    <simpleType name='NotEmptyString' type='xs:string' extra:form.empty='false'>
        <facet name='minLength' value='1'/>
    </simpleType>