Hello,

On 6/7/07, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote:
>
>
> Somewhere in the environ, there's the Routes stuff.  You can use that
> to figure out which action was executed.  I usually just print out the
> environ and start poking around.  Once you know what action was
> executed, get the actual method via "getattr(self, action_name)".
> From there, you can do "getattr(action_method, 'validation_handler',
> None)".  Make sense?


It makes sense, yes, except that I can't find that object in the environ.

I  found pylons.routes_dict which is simply {'action': u'index',
'controller': u'setlang', 'id': None}.

Any further ideas?

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