Hello, 1. "/video&v=1" looks incorrect URL. I think, you mean "/video?v=1"
2. Using parameters in URL is not needed in Wt. It's better to use interla paths like "/video/1". If you want parameters, use WAnchor with WLink of type WLink::Url. To gat parameters values, use WEnvironment::getParameter. Remember parameters are not part of internal path, so you can not use them in setInternalPath. 3. To change internap path, use app.setInternalPath. Pass emit_change=true to get signal internalPathChanged() signal fired. 4. Listen signal internalPathChanged() with your custom function to react on internal path changes. By default, Wt application do nothin when internal path changes. Regards, Boris Nagaev On Wed, Feb 26, 2014 at 7:10 AM, Jeffrey Scott Flesher Gmail <jeffrey.scott.fles...@gmail.com> wrote: > Adding to my first question: > Further testing I see that the page is cached, so changing the internal path > did not cause the function to be called a second time, how do I change that > behavior? > > Since my page is based on the value of a combo box on that page, I need to > call the page again > http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#a2c1a10aadc0d7ed877b5715b42ca4911 > says When emitChange is true, this signal is also emitted by setting the > path (but only if the path is actually changed). > but in my example below, the path would be changed, yet I also see that the > match much be exact "only an exact matching path is routed to the > application", > so this would not work. > > I did find ParameterMap, which lead me to this post > http://redmine.webtoolkit.eu/boards/2/topics/5836 > which never got answered... but you say to use internal path, but I do not > understand how, in my example: > /video is the path to my function call, > v=1, or what ever value is stored in the combo box, would look like: > /video&v=1 > what it sounds like you want is an internal path of: > /video/v/1 > Is this Correct? > Because the documents state "only an exact matching path is routed to the > application" > Not sure why query is not preferred method, but there is no documentation > that I can find on how to use ParameterMap. > > > > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest