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

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

Change TALES expressions.

Definition at line 466 of file Field.py.

00466                                    :
        """Change TALES expressions.
        """
        try:
            # validate the form and get results
            result = self.tales_form.validate(REQUEST)
        except ValidationError, err:
            if REQUEST:
                message = "Error: %s - %s" % (err.field.get_value('title'),
                                              err.error_text)
                return self.manage_talesForm(self,REQUEST,
                                             manage_tabs_message=message)
            else:
                raise

        self._edit_tales(result)

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

    def _edit_tales(self, result):


Generated by  Doxygen 1.6.0   Back to index