Skip to main content

BIN VthN9 Documentation

  • Author:

  • Version: 4

  • Description: Test of focus not editable grid with edit button - focus goes to edit button, if it were not present would go to the TR of the row za08g

  • Created: 2020-07-16

  • Modified: 2020-07-19

  • Source:

     Edit 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 with edit button  - focus goes to edit button, if it were not present would go to the TR of the row bin:za08g' extra:xform.ccontrol='table'>
        <field name='Sub' type='Sub' maxOccurs='n' extra:form.listview='grid' extra:xlc.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>