Hello,

see simple chat example, it uses server initiated updates.

On Mon, Mar 10, 2014 at 5:59 PM, Tor Arne Fallingen <[email protected]>wrote:

> Hey again,
>
> Its monday and Ive been trying to get this working, but Im trying a bit
> back and forth with no luck. Is there a small simple example on how to do
> this? I mean, Ive made a counter, and Im trying to update the text in a
> header with the increasing int. Im using Andres Jaimes simple c++/Wt
> skeleton as a basis for my testing of different functionalities.
> Regards,
> Tor
>
>
> 9. mars 2014 kl. 10:53 skrev Tor Arne Fallingen <[email protected]>:
>
> > Great, thanks.
> >
> > Regards,
> > Tor
> >
> > Sendt fra min iPhone
> >
> >> Den 9. mars 2014 kl. 08:28 skrev Nagaev Boris <[email protected]>:
> >>
> >> 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
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to