On Friday February 6, 2009 18:49:15 Florent Aide wrote: > does the get_variables() method return all the params of a tg2 controller ? > > ie: if I have /superblog/blogpost/edit/postid as an url and edit is > the exposed and protected method, does my predicate receive the postid > ?
I'm not sure how TG2 handles that, but if it does so the standard way, yes. That method is aware of the wsgiorg.routing_args specification, which is supported at least by Routes and Selector: http://www.wsgi.org/wsgi/Specifications/routing_args Cheers. -- Gustavo Narea <http://gustavonarea.net/>. Get rid of unethical constraints! Get freedomware: http://www.getgnulinux.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
