| Home | Trees | Index | Help |
|---|
| Package qm :: Module fields :: Class PythonField |
|
object--+ |Field--+ | PythonField
A 'PythonField' stores a Python value.
All 'PythonField's are computed; they are never written out, nor can they be specified directly by users. They are used in situations where the value of the field is specified programatically by the system.| Method Summary | |
|---|---|
__init__(self,
name,
default_value)
| |
| Inherited from Field | |
| |
Return an HTML rendering of a 'value' for this field. | |
Return a plain text rendering of a 'value' for this field. | |
Return a brief description of this field. | |
Return the default value for this field. | |
Return a description of this field. | |
Generate help text about this field in structured text format. | |
Return the form field name corresponding this field. | |
Generate help text about this field in HTML format. | |
Return the name of the field. | |
Returns the sequence of subfields contained in this field. | |
Return the user-friendly title of the field. | |
Return a value for this field represented by DOM 'node'. | |
Returns true if this field is computed automatically. | |
Returns true if this 'Field' should be hidden from users. | |
Returns true if this 'Field' cannot be modified by users. | |
Generate a DOM element node for a value of this field. | |
Convert a value submitted from an HTML form. | |
Parse a value represented as a string. | |
Set the name of the field. | |
Validate a field value. | |
| 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.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
| Inherited from Field | |
str |
form_field_prefix = '_field_'
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Sep 27 15:49:06 2007 | http://epydoc.sf.net |