Hello, Wt supports server-initiated updates. See methods WApplication::enableUpdates and WApplication::triggerUpdate.
You would find method WServer::post interesting too. Regards, Boris Nagaev On Sun, Mar 9, 2014 at 2:13 AM, Tor Arne Fallingen <[email protected]> wrote: > Hey, > > Ive been playing around with Wt to learn how to do different things, and its > been quite enjoyable this far. But as part of a system where we are using Wt > for an embedded system, we want to be able to show dynamic data like graphs > and changing values. One of the things I was hoping to not have to do was > learning JavaScript to accomplish this, its enough having to learn C++. So I > wonder if there is a method of doing this? I can’t have the user clicking a > pushbutton to invoke reloading a graph to see the new value/values or > updating a numeric value. I see signals and slots, but it seem like they have > to be triggered somehow. It would be perfect if a change in the data server > side could trigger an update on the client/browser, or if something like a > thread could run on the client side, updating the graphs and values. > Its not so easy finding a lot of documentation on Wt, so I have to try and > post this and see if anyone can show me in the right direction :) > > Regards, > Tor > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
