• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sample code wanted...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Sample code wanted... (From: "Randy Wigginton" <email@hidden>)

  • Prev by Date: Re: Sample code wanted...
  • Next by Date: Re: Sample code wanted...
  • Previous by thread: Re: Sample code wanted...
  • Next by thread: Re: Help on big relationship
  • Index(es):
    • Date
    • Thread