Home | Trees | Indices | Help |
|
---|
|
object --+ | formencode.declarative.Declarative --+ | formencode.api.Validator --+ | formencode.api.FancyValidator --+ | formencode.schema.Schema --+ | Schema
Modified Schema validator for TurboGears. A schema validates a dictionary of values, applying different validators (by key) to the different values. This modified Schema allows fields that do not appear in the fields parameter of your schema, but filters them out from the value dictionary. You might want to set filter_extra_fields to True when you're building a dynamic form with unpredictable keys and need these values. **Messages** ``badDictType``: The input must be dict-like (not a ``%(type)s``: ``%(value)r``) ``badType``: The input must be a string (not a ``%(type)s``: ``%(value)r``) ``empty``: Please enter a value ``missingValue``: Missing value ``noneType``: The input must be a string (not None) ``notExpected``: The input field ``%(name)s`` was not expected.
Nested Classes | |
Inherited from Inherited from Inherited from |
Instance Methods | |||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
Class Methods | |
Inherited from |
Static Methods | |
Inherited from |
Properties | |
Inherited from |
Method Details |
For Declarative subclasses, this decorator will call the method on the cls.singleton() object if called as a class method (or as normal if called as an instance method).
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jul 14 21:45:37 2011 | http://epydoc.sourceforge.net |