Hey Rutger,

That really sounds like the standard use case for deferRendering() and
resumeRendering(). What behavior are you seeing when you use these
calls?

See also here for how it's used in combination with the asynchronous
HTTP client: 
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1Http_1_1Client.html

You still need to take the updateLock or post() to the application for
the 'deferred' part that touches the widget hierarchy and calls
resumeRendering().

Koen

2013/7/24 Rutger ter Borg <rut...@terborg.net>:
>
> Dear all,
>
> the processing pipeline of Wt in my application is asynchronous. When a
> WApplication receives an internalPathChanged() signal, it delegates the
> request to somewhere else. The response that follows (quite fast)
> triggers the construction of the Wt widget tree and connects signals and
> slots.
>
> Right now, I'm using the acquisition of a lock in combination with
> triggerUpdate(). I would like to hold off the response of Wt during the
> (internal) async call. I tried deferRendering() and resumeRendering()
> but that doesn't seem to do what I am looking for.
>
> I such facility available in Wt? On the mailing list, I saw a message
> regarding async/deferred page rendering from 2010, has there been any
> progress in this area?
>
> Thanks,
>
> Rutger
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to