Hi Brian,
First, what you call "elements" are called "fields" in inputEx.
The important difference between "fields" and "widgets" is simple :
All fields inherit from the inputEx.Field class
(some inherits it indirectly through other field classes...)
The inputEx.Field class provides a common set of methods that are expected to work on all fields.
This common abstraction makes it possible to nest standard fields into "meta"-fields (such as form, inplace-edit, ...)
The widgets are not meant to be inserted into forms. They are simply helpers to provide frequently-used
user interface using inputEx forms.
For example :
* the dialog widget create a YUI dialog containing an inputEx Form.
* the datatable extends the YUI datatable to use inputEx fields
* ...
Finally inputEx.register only register fields.
This is necessary if you want to create a field using json:
fields: [
{type: "text", label:"name"},
{type: "my-custom-type", label: "test" }
]
I'll try to compile this into an inputEx guide ....
++
--
Eric Abouaf
eric....@gmail.comTél: 06 29 86 37 89