Re: [Cppcms-users] mapping across mount_points
Brought to you by:
artyom-beilis
|
From: Petr J. <ele...@ex...> - 2013-07-14 21:53:22
|
And calling url("/bar/index") doesn't work? It should if Bar is a
sub-application.
The URL helper can take an absolute path, provided that you're mapping
is set up correctly.
For example:
MyMainApp/SubApp1/show
MyMainApp/SubApp2/update
In the template of SubApp1::show, you can call url("/SubApp2/update")
provided that your SubApps are mounted correctly and mapper is properly
set up in each sub application.
On 15/07/2013 6:33 AM, Marcel Hellwig wrote:
> On 14.07.2013 22:31, Petr Janda wrote:
>> Why are you trying to call rpc server function via "url" helper?
> Because I have a template where I'd like to call some rpc methods. The
> current status is hard-coded links, but I don't like that. If I change
> any url, everything else has to be changed, that's sad :/
>
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
--
Please use PGP to encrypt your email to ensure our privacy is respected.
|