Vai al contenuto principale

BIN za08g Documentation

  • Author:

  • Version: 1

  • Description: Test of focus not editable grid without edit button - focus goes to the TR of the row VthN9

  • Created: 2020-07-19

  • Modified: 2020-07-19

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Test of focus not editable grid without edit button - focus goes to the TR of the row bin:VthN9 ' extra:xform.ccontrol='table'> 
        <field name='Sub' type='Sub' maxOccurs='n' extra:form.listview='grid' extra:lc.edit='false' extra:clc.simple='true'/>
        <field name='BookAsEditable' type='Book' extra:lct.field='##all' extra:form.cview='edit' />
    </complexType>
    <complexType name='Sub' description='' >
        <field name='Book' type='Book'  minOccurs='1' />
        <field name='Year' type='xs:int'  minOccurs='1'/>
    </complexType>
    <complexType name='Book' description=''
     extra:form.nodefault='true'
     
    extra:form.editable.expression='#if($obj.data.Title.length()!=0) $obj.data.Title,  by $obj.data.Author    #else Click to insert #end' extra:lct.expression='#if($obj.Title.length()!=0) $obj.Title , BY $obj.Author #else Click to insert #end ' >
        <field name='Title' type='NotEmptyString' default='xxxx'/>
        <field name='Author' type='NotEmptyString'/>
    </complexType>
    <simpleType name='NotEmptyString' type='xs:string' extra:ctrl.emptyisnull='true'>
        <facet name='minLength' value='1'/>
    </simpleType>