Re: Sample code wanted...
Re: Sample code wanted...
- Subject: Re: Sample code wanted...
- From: "Pierce T. Wetter III" <email@hidden>
- Date: Fri, 12 May 2006 14:06:25 -0700
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden