Skip to main content

BIN TY5Xg Documentation

  • Author:

  • Version: 13

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

  • 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 Simple [lc.expression] used to format the (complex) "Contact" field showing title, first and last name. To check it out load a saved instance like this bin:TY5Xg?i=129 - see also bin:Tt5a8?i=128 bin:3oHeN?i=146 bin:4pL6m?i=130 bin:nNFBG?i=133 bin:gAupo?i=131'>
        <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='{ctx.title} {ctx.first} {ctx.last}'
    	extra:lct.expressiongrammar='simple'> 
        <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>