void SurveySelector::startSurvey() { std::cout << "Hello " << user_->text() << ", please fill in " << surveys_->currentText() << std::endl; Wt::WApplication *app = Wt::WApplication::instance(); std::string path("/fill/"); path.append(user_->text().toUTF8()); path.append("/"); path.append(surveys_->currentText().toUTF8()); app->setInternalPath(path, true); }