Hi,

I am wondering is that possible to map url like this.

http://example.com/id/view

http://example.com/foo/admin
http://example.com/foo/post
http://example.com/foo/view

http://example.com/bar/admin
http://example.com/bar/post
http://example.com/bar/view

http://example.com/tom/admin
http://example.com/tom/post
http://example.com/tom/view

http://example.com/john/admin
http://example.com/john/post
http://example.com/john/view

....
And the controller looks like this:

class Controller(tg.Controller):
    @tg.expose()
    def admin(self, ...):
        pass

    @tg.expose()
    def post(self, ...)
        pass

    @tg.expose()
    def view(self, ...)
        pass

I want the first directory name be a parameter. Is that possible to
achieve this with turbogears?

Thanks.
Victor Lin.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to