On Thu, Aug 2, 2012 at 3:58 PM, alex bodnaru <[email protected]>wrote:

>
> hello michael,
>
> On 08/02/2012 06:27 PM, Michael Pedersen wrote:
> > I don't believe we have such a facility. While it might be possible to
> do, I'm
> > not even sure that's desirable. What are you trying to accomplish? More
> > importantly, why? We may need to do something for this.
> >
> all my controllers inherit basecontroller.
> i'd like most @validate error_handlers to behave the same. hence i'd put
> this
> error_handler in base.
> how would you do it?
>

I wouldn't. @validate is on a per method basis because each method is
expecting something different. I have no idea of any use case where a
number of methods are expecting everything to be the same. As a result, I
can't conceive of a time that I would even *try* to do what you're
describing, never mind actually doing it.

-- 
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: [email protected] -- Twitter: pedersentg

-- 
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