BIN gAupo Documentation
Author: Michele Vivoda
Version: 21
Description: A test for a Jexl [lct.expression] used to format the (complex) "Contact" field showing title, first and last name. To check it out load a saved instance like this (131) - see also 3oHeN (146) TY5Xg (129) 4pL6m (130) nNFBG (133)
Created: 2020-10-20
Modified: 2020-11-19
Source:
Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML<complexType name='Form' description='A test for a Jexl [lct.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:gAupo?i=131 - see also bin:3oHeN?i=146 bin:TY5Xg?i=129 bin:4pL6m?i=130 bin:nNFBG?i=133'> <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 ' extra:lct.expressiongrammar='jexl'> <field name='title' type='xs:string' minOccurs='0' extra:ctrl.emptyisnull='true' 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>application/xml //efbin.org/osk/gAupo //efbin.org/bin/gAupo Eleusoft ARIA