Re: Progress bars and HTML generation
Re: Progress bars and HTML generation
- Subject: Re: Progress bars and HTML generation
- From: Anjo Krank <email@hidden>
- Date: Wed, 2 Jan 2008 23:49:05 +0100
Am 05.12.2007 um 23:55 schrieb Paul Hertz:
But I can't help but wonder if there isn't a strategy to request a
page generated from a component, put up a progress bar while it's
generating, and then just hand it off to the server when it's ready.
Yeah, I've been thinking about this, too... so you need a custom
adaptor, need to create a new thread (getting it from a pool or
whatever) that does the actual rendering, wait until completion or
elapsed time and if doesn't, return a 302 to some progress page (which
needs to be stateless and non-session-touching). The 302 page then
would check and wait again (keyed on the URL, maybe). Also a formal
interface which has a way to register completion would help.
Unfortunately, most stuff in WOAdaptor is private, so you'd need to
dump or rewrite it. But it *should* be doable.
Tell me when you are done. With Project Wonder, writing these long
tasks is pretty easy but still a nuisance.
Cheers, Anjo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden