• 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: Intercept submitAction in generated D2W Edit Page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intercept submitAction in generated D2W Edit Page


  • Subject: Re: Intercept submitAction in generated D2W Edit Page
  • From: Ramsey Gurley <email@hidden>
  • Date: Mon, 07 Mar 2011 13:31:52 -0700

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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
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: 
 >Intercept submitAction in generated D2W Edit Page (From: Markus Ruggiero <email@hidden>)

  • Prev by Date: Re: H2 and timezones
  • Next by Date: Re: java client and ntlm proxy
  • Previous by thread: Intercept submitAction in generated D2W Edit Page
  • Next by thread: Help Needed
  • Index(es):
    • Date
    • Thread