HappyDoc Generated Documentation Class: pwForm

widget.py / pwForm 

Form class
The form class is actually more of a wrapper class that takes a list of objects and displays them wrapped in the appropriate form code. Note that creating a form object will automatically set isForm=True in each of the child objects

Arguments:

  • objList: the list of widgets to display as part of this form

Common Keywords:

  • divClass: allows the user to override the class of the
  • fieldSpecial: allows the user to add "special" HTML attributes to the output element
  • id: overrides the HTML "id" attribute
  • selectable: controls whether this field is selectable or not
  • inputType: mostly for internal use -- overrides the type designation in the output hidden fields

Keywords:

  • method: the form method (get or post)
  • action: the URL to submit the form to
  • onsubmit: a custom javascript to call when this form is submitted.

Default divClass: pwForm

Base Classes   

pwForm
  pyWidget

Methods   
  display 
display ( self,  lvl )
  __init__ 
__init__ (
        self,
        objList,
        **kwlist,
        )
Exceptions   

NoSuchObject


This document was automatically generated Tue Sep 21 18:50:54 2004 by HappyDoc version 3.0.a1