Package twisted :: Package coil :: Module web :: Class ImmutableCollectionForm
[frames | no frames]

Class ImmutableCollectionForm

Widget --+    
         |    
      Form --+
             |
            ImmutableCollectionForm


A collection of immutable objects such as strings or integers.
Method Summary
  __init__(self, appcpage, coll, linkfrom)
  getFormFields(self, request)
  process(self, write, request, submit, name, value, **newitems)
    Inherited from Form
  _displayFormat(self, request, form)
  _displayProcess(self, request, form)
  _doProcess(self, form, write, request)
(internal) Prepare arguments for self.process.
  display(self, request)
Display the form.
  format(self, form, write, request)
I display an HTML FORM according to the result of self.getFormFields.
  formatError(self, error)
Format an error message.
  getFormID(self)
Override me: I disambiguate between multiple forms of the same type.
  shouldProcess(self, request)
  tryAgain(self, err, req)
Utility method for re-drawing the form with an error message.
    Inherited from Widget
  getTitle(self, request)

Class Variable Summary
dict typeMap = {<type 'str'>: 'string', <type 'int'>: 'intege...
    Inherited from Form
str actionURI = ''
int formAcceptExtraArgs = 0                                                                     
list formFields = []
dict formGen = {'checkbox': <function htmlFor_checkbox at 0x8...
dict formParse = {'int': <type 'int'>, 'float': <type 'float'...
list submitNames = ['Submit']
    Inherited from Widget
NoneType title = None                                                                  

Class Variable Details

typeMap

Type:
dict
Value:
{<type 'str'>: 'string', <type 'int'>: 'integer', <type 'float'>: 'flo\
at'}                                                                   

Generated by Epydoc 2.0 on Sat Sep 13 04:20:48 2003 http://epydoc.sf.net