On Thu, 22 Mar 2007 at 09:58, Diez B. Roggisch wrote:
>> I presume I can work around this by defining the save method in the
>> subclass and decorating it, but I hate to have to write the redundant
>> code :).  Is there some way to set the error handler (and the
>> validator, for that matter) other than the decorator?
>
> You can pass a callable to the validate decorators form-argument.

Thanks!  That worked perfectly for my purposes.

--David

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to