Logo Search packages:      
Sourcecode: zope-formulator version File versions  Download package

def Formulator::Form::Form::__init__ (   self,
  action,
  method,
  enctype,
  name,
  encoding,
  stored_encoding,
  unicode_mode 
) [inherited]

Initialize form.

Reimplemented in Formulator::Form::BasicForm.

Definition at line 43 of file Form.py.

                                                         :
        """Initialize form.
        """
        # make groups dict with entry for default group
        self.groups = {"Default": []}
        # the display order of the groups
        self.group_list = ["Default"]
        # form submit info
        self.name = name     # for use by javascript
        self.action = action
        self.method = method
        self.enctype = enctype
        self.encoding = encoding
        self.stored_encoding = stored_encoding
        self.unicode_mode = unicode_mode

    # MANIPULATORS
    security.declareProtected('Change Formulator Forms', 'field_added')
    def field_added(self, field_id, group=None):


Generated by  Doxygen 1.6.0   Back to index