hi, I tried the Richard method and worked just fine! Seems more pythonic to me!
thanks folks! Carlos Aboim On 9 Set, 00:46, Richard <richar...@gmail.com> wrote: > You need to specify the othercontrolleror it will stay in obras: > > URL(r=request, c='clientes', f='insert') > > On Sep 9, 2:10 am, Carlos Aboim <abo...@gmail.com> wrote: > > > Hi everyone, > > Hoping everything all wright with you all. > > > How do I call acontrollerfunction from one link in another > >controller. > > > I have 2 controllers: obras and clientes. > > > I need call a function of clientes, from a link in obrascontroller. > > > {{=A('Arquivar cliente', _href=URL(r=request, f='clientes/insert'))}} > > #link from where I want call the onthercontrollerfunction. When I > > 'click it' returns me a invalid function error. > > > Made sense?! If any trouble to understand I'll try explain other way!! > > > thank you > > Carlos Aboim --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---