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

Re: Launching task after an object creation (D2W)


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

Thank you..
So simple :)

Francesco

On 06/dic/2010, at 13.15, Kieran Kelleher wrote:

ERXGenericRecord.didInsert().   Override that. 

Regards, Kieran.


On Dec 6, 2010, at 6:57 AM, Francesco Romano <email@hidden> wrote:

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
References: 
 >Launching task after an object creation (D2W) (From: Francesco Romano <email@hidden>)
 >Re: Launching task after an object creation (D2W) (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: x-webobjects-request-id lacking uniqueness?
  • Next by Date: Re: x-webobjects-request-id lacking uniqueness?
  • Previous by thread: Re: Launching task after an object creation (D2W)
  • Next by thread: x-webobjects-request-id lacking uniqueness?
  • Index(es):
    • Date
    • Thread