BIN bTbBZ Documentation
Author: Michele Vivoda
Version: 33
Description: An a standard list grid control with [lc.expression2] used to format the (complex) "Name" field showing title, first and last name and for the (simple) EMail. To check it out load a saved instance.
Created: 2015-10-16
Modified: 2015-10-16
Source:
Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML<complexType name='Form' description='An a standard list grid control with [lc.expression2] used to format the (complex) "Name" field showing title, first and last name and for the (simple) EMail. To check it out load a saved instance.'> <field name='Employee' type='xs:string' /> <field name='Date' type='xs:date' /> <field name='grid' type='Sub' maxOccurs='n' extra:form.listview='grid' extra:lc.ordered='false' /> </complexType> <complexType name='Sub' description=''> <field name='email' type='NotEmptyString' extra:form.control='email' extra:lct.expression2=' #if($obj.listItem.email.length() > 0) EMAIL: $!obj.listItem.email #else NO EMAIL #end'/> <field name='name' type='Name' /> <field name='codes' maxOccurs='n' type='xs:int' extra:lct.expression2='$obj.listValue ' /> </complexType> <!-- here specifies velocity expression for output of Name --> <complexType name='Name' extra:lct.expression2='$!obj.listItem.value.title $!obj.listItem.value.first $!obj.dataObject.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>application/xml //efbin.org/osk/bTbBZ //efbin.org/bin/bTbBZ?i=27 Eleusoft ARIA