Vai al contenuto principale

BIN 4aLge Documentation

  • Author:

  • Version: 5

  • Description: A standard grid control with a "search in google" action with [action.condition.field] that prints the link only when there is Value - This version uses grid.format= to open the link in a new window

  • Created: 2014-11-30

  • Modified: 2015-10-14

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='A standard grid control with a "search in google" action with [action.condition.field] that prints the link only when there is Value - This version uses grid.format=#linkext to open the link in a new window'>
        <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' extra:grid.align='center'/>
        <field name='Action' type='xs:string' extra:grid.edit='false' minOccurs='0'  extra:form.skip='true' 
    	extra:grid.label='Search on Google'  
    	extra:action.condition.field='Value'
    extra:grid.format='#linkext'	 
    	extra:grid.link.field='Value' 
    	extra:grid.align='center' 
    	extra:grid.link.css='btn btn-primary' 
     	extra:action.value='false'
    	extra:grid.link='http://google.com?q={0}' />
    </complexType>