You need to specify the other controller or it will stay in obras:

URL(r=request, c='clientes', f='insert')



On Sep 9, 2:10 am, Carlos Aboim <[email protected]> wrote:
> Hi everyone,
> Hoping everything all wright with you all.
>
> How do I call a controller function from one link in another
> controller.
>
> I have 2 controllers: obras and clientes.
>
> I need call a function of clientes, from a link in obras controller.
>
> {{=A('Arquivar cliente', _href=URL(r=request, f='clientes/insert'))}}
> #link from where I want call the onther controller function. 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to