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

def Formulator::Form::Form::validate_all_to_request (   self,
  REQUEST 
) [inherited]

Validation, continue validating all fields, catch errors.
Everything that could be validated will be added to REQUEST.

Definition at line 398 of file Form.py.

00398                                               :
        """Validation, continue validating all fields, catch errors.
        Everything that could be validated will be added to REQUEST.
        """
        try:
            result = self.validate_all(REQUEST)
        except FormValidationError, e:
            # put whatever result we have in REQUEST
            for key, value in e.result.items():
                REQUEST.set(key, value)
            # reraise exception
            raise
        for key, value in result.items():
            REQUEST.set(key, value)
        return result

    security.declareProtected('View', 'session_store')
    def session_store(self, session, REQUEST):


Generated by  Doxygen 1.6.0   Back to index