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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to