I think this question might be born out of ignorance but I'll
hopefully soon find out.
In short can an error handler dynamically choose the method which
called the current method as a handler.
That probably didn't make sense so here is the long version.
Currently I have a form which calls a method. The form is validated
and uses error handling as usual. Such that
@expose()
def showform(self):
pass
@expose()
@validate(form=myForm)
@error_handler(showform)
processform(self):
pass
(Just for illustration purposes)
However suppose I want to put myForm on another page. Then processform
redirects the request from a different page to showform. Is there any
way to change this?
Thanks,
Jim
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---