> > The first argument, 'dummy', of error( ) serves as the placeholder for
> > the instance that is normally passed as first argument to a method.
>
> You won't need the dummy argument since the instance is not passed by
> the error handling code, it is passed implicitly for bound methods.

I see, then probably that's the reason my approach didn't really work, thanks.

> > If I define it as a method on one of the controllers I can't really
> > pass it to @error_handler decorating another method in another
> > controller, can I?
>
> Currently I see no reason why this should not be possible.

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