Launching task after an object creation (D2W)
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 |
_______________________________________________
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