inputEx Documentation Back to homepage

inputEx Documentation > Migrate from 0.1.0 0.2.2

How to migrate from 0.1.0

The 0.2.0 release introduced some changes in the inputEx API. Follow this guide to upgrade your application :

Javascript/JSON definitions:

  • The label property moved to the inputParams object.
  • The description property moved to the inputParams object.
  • The optional property has been removed. To get the same behaviour, create a sub-group with "collapsable" set to true.
  • The tooltipIcon property has been removed. Use showMsg instead.

Example:

{	
   type: 'string',
   label: 'A label',
   description: 'Here a long description',
   inputParams: {
      name: 'title',
      tooltipIcon: true
   }
}

should become :

{	
   type: 'string',
   inputParams: {
      name: 'title', 
      label: 'A label', 
      description: 'Here a long description',
      showMsg: true
   }
}

CSS:

The inputEx 0.2.0 release will probably break most of your inputEx 0.1.0 css customization.

We switched from TABLE elements to DIVs only. It is a bit trickier to align elements, but the fields become much more flexible.

Take a look at the current inputEx markup structure.


Copyright (c) 2007-2009 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 2.0.0 on Wed, 04 Mar 2009 15:41:32 GMT using neyricjslibs-template.