Looked at the ERXCopyable… implemented the copy method with some simplifications and help from Practical WebObjects book.
PS: There is a typo in the code on page 244 If (original != null) // wrong if(relatedObject!=null) //wright? > On Nov 18, 2014, at 11:38 AM, Theodore Petrosky <tedp...@yahoo.com> wrote: > > there was a presentation at WOWODC14 by the unflappable Dave Avendasora: > Using ERXCopyable, with and without writing any code > > There was some code that he added to _WonderEntity.java and I don’t know if > it made it into the current release. Since he worked with me at the session, > I created my own and referred the .eogen file to use it. > > Basically, copying can be accomplished with no code using this method. It is > fantastic. > > Ted > > > > > On Nov 18, 2014, at 10:00 AM, James Cicenia <ja...@jimijon.com> wrote: > >> Morning - >> >> I want to copy an EO. I remember in my dusty Practical WebObjects there was >> a nice chapter on copying enterprise objects. >> I blew off the dust and dove in. Wow, there is a lot of code to transcribe >> with old java syntax etc. >> >> Question: Is there an updated version of the copying code anywhere? >> >> Thanks >> James >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com >> >> This email sent to tedp...@yahoo.com >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com