Skip to main content

BIN T7WBy Documentation

  • Author:

  • Version: 24

  • Description: A grid control with a "search in google" action using [grid.label.code]. The key [test.code.searchwithgoogle] is defined in localization properties. The best option is to define also [grid.label] so that if there are no localization properties there is...

  • Created: 2014-11-29

  • Modified: 2020-11-18

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='A grid control with a "search in google" action using [grid.label.code]. The key [test.code.searchwithgoogle] is defined in localization properties. The best option is to define also [grid.label] so that if there are no localization properties there is anyway a label and an action link.'>
        <field name='Lines' type='Line' maxOccurs='n' extra:form.listview='grid' extra:lc.ordered='false'/>
    </complexType> 
    <complexType name='Line'>
        <field name='Value' type='xs:string' />
        <field name='Action' type='xs:string' minOccurs='0'  extra:grid.align='center' extra:grid.edit='false' extra:form.skip='true' 
    	extra:grid.label='Search on Google' 
    	extra:grid.label.code='test.code.searchwithgoogle' 
    	extra:grid.link.field='Value'
    	extra:grid.format='#linkext'
    	extra:grid.link.css='btn btn-primary' 
     	extra:action='http://google.com?q={0}' />
     
    </complexType>