Hi,

On 6/8/07, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote:
>
> Heh, that's exactly what you want!
>
> method = getattr(self, pylons.routes_dict['action'])
> validation_handler = getattr(method, 'validation_handler', None)

Almost, except for a small twist (see Controller._dispatch_call, it
replaces '-' with '_').

I filed a ticket on Pylons trac to expose this directly to environ,
see #253. I think it's a cleaner solution than trying to duplicate
logic of Pylons code.

Thanks for help,
Max.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to