On 02/05/2006, at 19:16, jvanasco wrote:
> > i've just discovered that exception_handling only works on exposed > methods > > i'm not sure if this is a feature or a bug. i'd hope a bug. AFAIK exception_handler only binds rules to the method it decorates for errorhandling.try_call to catch and dispatch. If you need this functionallity for non exposed methods you could write a decorator that wrapped your function so it gets called by "try_call". However, I'm not the decorator guru here so don't take me too seriously as I've never implemented what I'm suggesting :) Alberto --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

