• 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
Launching task after an object creation (D2W)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Launching task after an object creation (D2W)


  • Subject: Launching task after an object creation (D2W)
  • From: Francesco Romano <email@hidden>
  • Date: Mon, 6 Dec 2010 12:57:32 +0100

Hi.
I have a d2w application with two pages: a "list movies" and a "add movie".
What I want to do is call a background task after a movie is added in the db (I have to call an applescript script that can take a lot of time depending of movie size..)
Where should I add the

ConverterTask task = new ConverterTask((EOGlobalID)ERXEOControlUtilities.convertEOtoGID(m));
ERXExecutorService.executorService().execute(task);

I tried in the Movie.java file, but the CreateMovie method is not called in D2W...

Thank you

Francesco

 _______________________________________________
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

  • Follow-Ups:
    • Re: Launching task after an object creation (D2W)
      • From: Kieran Kelleher <email@hidden>
  • Prev by Date: Re: Timestamps and PostgreSQL
  • Next by Date: Re: Launching task after an object creation (D2W)
  • Previous by thread: Re: [ANN] Safari Extension 0.95
  • Next by thread: Re: Launching task after an object creation (D2W)
  • Index(es):
    • Date
    • Thread