Part of formless.iformless View Source View In Hierarchy
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 13 | Method | coerce | Coerce the input 'val' from a string into a value suitable |
| 23 | Attribute | label | The short label which will describe this |
| 26 | Attribute | description | A long description which further describes the sort |
| 29 | Attribute | default | A default value that may be used as an initial value in |
| 32 | Attribute | complexType | Whether or not this Typed |
Coerce the input 'val' from a string into a value suitable for the type described by the implementor. If coercion fails, coerce should raise InputError with a suitable error message to be shown to the user. 'configurable' is the configurable object in whose context the coercion is taking place.
May return a Deferred.Whether or not this Typed is a "simple" type and the infrastructure should render label, description, and error UI automatically, or this type is "complex" in which case it will be required to render all UI including UI which is normally common to all Typed UI.
This MAY BE DEPRECATED if a better implementation is devised.