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

def Formulator::Field::ZMIField::manage_edit (   self,
  REQUEST 
)

Submit Field edit form.

Definition at line 357 of file Field.py.

00357                                   :
        """Submit Field edit form.
        """
        try:
            # validate the form and get results
            result = self.form.validate(REQUEST)
        except ValidationError, err:
            if REQUEST:
                message = "Error: %s - %s" % (err.field.get_value('title'),
                                              err.error_text)
                return self.manage_main(self,REQUEST,
                                        manage_tabs_message=message)
            else:
                raise

        self._edit(result)

        if REQUEST:
            message="Content changed."
            return self.manage_main(self,REQUEST,
                                    manage_tabs_message=message)

    security.declareProtected('Change Formulator Fields', 'manage_edit_xmlrpc')
    def manage_edit_xmlrpc(self, map):


Generated by  Doxygen 1.6.0   Back to index