Re: Copy EO. Practical Utilities?
Re: Copy EO. Practical Utilities?
- Subject: Re: Copy EO. Practical Utilities?
- From: Chuck Hill <email@hidden>
- Date: Tue, 18 Nov 2014 18:22:21 +0000
- Thread-topic: Copy EO. Practical Utilities?
Yes, that is a typo
On 2014-11-18, 9:55 AM, "James Cicenia" wrote:
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 < email@hidden> 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 < email@hidden> 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 (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