This came up in the thread about the forms package, but I just wanted
to see if there were other opinions on this.

So, the proposal is to:

1) deprecate validation_error. For now, if validation fails and you
have a method, it will be called but a DeprecationWarning will be
displayed.

2) if there is a validation error, your method will be called directly
and the errors (if any) will be in cherrypy.request.form_errors

It'll be up to you to check if there are errors, and an Invalid
exception will never be raised when trying to get into a method.

It seems fine to me, but I wanted to check other opinions.

Kevin

--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to