public
Description: A javascript framework for YUI to build fields and forms.
Home | Edit | New

Migrate from 0.1.0 to 0.2.x

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.

Last edited by neyric, Tue Apr 21 05:54:34 -0700 2009
Home | Edit | New
Versions: