Hi Markus,

Just set a NextPageDelegate on your edit page and implement the nextPage() 
method to execute your custom code.  If you return null from nextpage(), it 
will carry on like normal.  Alternately, you could set up a listener for the 
notifications posted by EOEditingContext and execute the code whenever that 
type of object is saved.

Ramsey

On Mar 7, 2011, at 1:13 PM, Markus Ruggiero wrote:

> I have a nicely generated ERD2WInspectPage for an entity (task = edit). Now I 
> need to take special action after this entity has been successfully saved. I 
> must automatically generate a PDF from the saved data and put it into some 
> predefined location in the file system. How can I do this? I know how to 
> generate the PDF but I need to know how to trigger my generatePDF code? Is 
> there an elegant D2W way of doing this?
> 
> WO is so much fun and D2W is like fun on steroid and sometimes it's just 
> plain frustrating... and it is now late into the night and I don't see the 
> forest for the trees anymore.
> 
> Thanks for help
> ---markus--- _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to