On May 12, 2006, at 1:39 PM, Randy Wigginton wrote:
I have an app that involves some LONG operations - literally an
hour or
more. In this case, I would like to display a page saying "Results
will be
e-mailed to you", then a new thread should perform the processing,
then
email a WOComponent page. Is there anything similar I can use as a
model?
Hard to believe this is the first time such a thing is needed
(nothing I
could find on WOCode.com)
You basically have the idea, I think the thing you're missing is this:
component= pageWithName("BigAssPage")
response=component.generateResponse()
As others have pointed out though, you'll probably want to setup a
separate database context, etc. or you'll end up locking everyone out
of the database for an hour.
Pierce
_______________________________________________
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]