Home | Trees | Index | Help |
|
---|
Package formless :: Module annotate :: Class Typed |
|
object
--+ |Element
--+ |Attribute
--+ | Typed
String
Method Summary | |
---|---|
__init__(self,
label,
description,
default,
required,
requiredFailMessage,
null,
unicode,
**attributes)
| |
coerce(self,
val,
configurable)
| |
getAttribute(self,
name,
default)
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Variable Summary | |
---|---|
str |
default : A default value that may be used as an initial value in the form. |
NoneType |
description : A long description which further describes the sort of input the user
is expected to provide. |
NoneType |
label : The short label which will describe this parameter/proerties purpose
to the user. |
NoneType |
null : The value which will be produced if required is False and the user
does not provide a value |
bool |
required : Whether the user is required to provide a value |
bool |
unicode : Iff true, try to determine the character encoding of the data from the
browser and pass unicode strings to coerce. |
Class Variable Summary | |
---|---|
Implements |
__implemented__ = <implementedBy formless.annotate.Typed...
|
str |
__name__ = 'Typed'
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
bool |
complexType = False
|
str |
requiredFailMessage = 'Please enter a value'
|
bool |
strip = False
|
Instance Variable Details |
---|
defaultA default value that may be used as an initial value in the form.
|
descriptionA long description which further describes the sort of input the user is expected to provide.
|
labelThe short label which will describe this parameter/proerties purpose to the user.
|
nullThe value which will be produced if required is False and the user does not provide a value
|
requiredWhether the user is required to provide a value
|
unicodeIff true, try to determine the character encoding of the data from the browser and pass unicode strings to coerce.
|
Class Variable Details |
---|
__implemented__
|
__name__
|
__provides__
|
complexType
|
requiredFailMessage
|
strip
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Oct 1 10:49:45 2006 | http://epydoc.sf.net |