On Thu, 5 Apr 2007 at 17:53, Christopher Arndt wrote: > [EMAIL PROTECTED] schrieb: >> I want to do a redirect from a controller >> to a URL relative to the URL of the controller. > >> I'm guessing this is a common need, so there's probably some simple >> way to do it, but I haven't figured it out yet ;) > > If I understand you correctly, you want to find out, where your controller is > mounted, i.e. what its URL is. > > Suprisingly, the solution isn't very obvious, but fortunately this has been > discussed before: > > http://tinyurl.com/2p5th6
Almost. I could use what you posted to do what I wanted, by looking through the object trail for 'self', and then constructing a path based on the objects in front of it on the list. I think I'm going to solve this problem a different way, but I'm going to keep this info tucked away in case of future need. Thanks! --David --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

