Alexandre da Silva schrieb: > Em Seg, 2008-03-31 às 17:02 +0200, Christoph Zwerschke escreveu: >> Thanks, I totally forgot about that. Actually I think the login >> mechanism uses the same idea. I'll check out how that works. > login mechanism seems to save the url entered before authentication, > than after login redirect the user to that url.
Yes, but is also checks cherrypy.request.path to find the previous_url. Jim, just to make sure, was your idea to use cherrypy.request.path or to use the HTTP Referer header? In the edit controller, looking in cherrypy.request.path for the previous URL will be too late, you would need the Referer which may not be supported by all clients. Or is the idea to add cherrypy.request.path to the edit link or to let the grid controller redirect to the edit controller? I think we need to put a working example in the Wiki ;-) -- Christoph --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

