Wt Internal Path not working
Added by Neel Basu almost 9 years ago
I have a Navigation Menu where each item has an internal path.
Wt::WMenuItem* browseItem = _menuBar->addItem("Browse");
Wt::WMenuItem* requestItem = _menuBar->addItem("Request");
browseItem->setPathComponent("");
browseItem->setLink(Wt::WLink(Wt::WLink::InternalPath, "/"));
requestItem->setPathComponent("request");
requestItem->setLink(Wt::WLink(Wt::WLink::InternalPath, "/request"));
#if WT_VERSION >= 0x3030300
browseItem->setInternalPathEnabled(true);
requestItem->setInternalPathEnabled(true);
#endif
When I click on the corresponding items address bar changes. However If I change the location directly in the address bar nothing happens. No events triggered.
I am deploying via built in httpd.