Package twisted :: Package web :: Module test :: Class FunkyForm
[frames | no frames]

Class FunkyForm

Widget --+    
         |    
      Form --+
             |
            FunkyForm


Method Summary
  process(self, write, request, submit, checkn, checkone, checktwo, desc, mnu, title)
    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.
  getFormFields(self, request, fieldSet)
I return a list of lists describing this form, or a Deferred.
  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
list formFields = [['string', 'Title', 'title', 'Chicken Litt...
list submitNames = ['Get Funky', 'Get *VERY* Funky']
    Inherited from Form
str actionURI = ''
int formAcceptExtraArgs = 0                                                                     
dict formGen = {'checkbox': <function htmlFor_checkbox at 0x8...
dict formParse = {'int': <type 'int'>, 'float': <type 'float'...
    Inherited from Widget
NoneType title = None                                                                  

Class Variable Details

formFields

Type:
list
Value:
[['string', 'Title', 'title', 'Chicken Little', 'This is for chickens!\
'],
 ['checkbox', 'First Checkbox', 'checkone', 1],
 ['checkbox', 'Second Checkbox', 'checktwo', 0],
 ['checkgroup',
  'First Checkgroup',
  'checkn',
  [['zero', 'Count Zero', 0],
...                                                                    

submitNames

Type:
list
Value:
['Get Funky', 'Get *VERY* Funky']                                      

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