On Aug 22, 2009, at 10:16 PM, jayvandal wrote: > I have a controller named person > I have a controller welcome. I created a def home() in welcome > controller. > I want to have the user go to a controller named person that has > definitions for person., show_person, new_person. > I was trying to use this statement below, but I don't know how to > construct f This doesn't work > > > {{=A('create show person',_href=URL(r=request,f='app/controllers/ > person/person.py'))}}
Try something like: URL(r=request, c='person', f='show_person') ...or whatever the function is that you want. But the 'person' controller should be app/controllers/person.py, not the path you show above. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---