Re: [Cppcms-users] Page handlers from configuration
Brought to you by:
artyom-beilis
|
From: Saikumar G. <sai...@gm...> - 2013-04-30 04:24:47
|
Great. The argument "url" solves my issue.
void loginpage(std::string url)
dispatcher().assign("/login", &server::loginpage, this,0);
With this I can lookup the associated page handler through command pattern
and it can be set in the configuration file.
Thanks.
|