yeah URL() is the best way. Your previous problem was because "posts/show/" is a relative link from the current page, while "/posts/show/" is an absolute link to the root of the server.
Richard On Sep 16, 7:47 pm, pistacchio <[email protected]> wrote: > i did that with the URL tag. :-) > > On 16 Set, 10:57, pistacchio <[email protected]> wrote: > > > Hi, > > in hand-writing links (not using A, for example), what is the correct > > way to map urls? Like, I'm on the the > > pagehttp://localhost:8000/myapp/user/login > > > I wanto to simply linkhttp://localhost:8000/myapp/posts/show/, but: > > 1. linking "/posts/show/" will go tohttp://localhost:8000/posts/show/ > > 2. linking "posts/show/" will go tohttp://localhost:8000/user/posts/show/ > > > So, what is the correct way to obtain the required result? thanks > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

