Re: ideas to dupe an EO

2013-02-18 Thread Theodore Petrosky
Avendasora webobje...@avendasora.com wrote: From: David Avendasora webobje...@avendasora.com Subject: Re: ideas to dupe an EO To: Theodore Petrosky tedp...@yahoo.com Cc: WebObjects Development webobjects-dev@lists.apple.com Date: Friday, February 15, 2013, 3:52 PM Hi Ted, On Feb 16, 2013, at 2:11

Re: ideas to dupe an EO

2013-02-18 Thread Chuck Hill
: Re: ideas to dupe an EO To: Theodore Petrosky tedp...@yahoo.com Cc: WebObjects Development webobjects-dev@lists.apple.com Date: Friday, February 15, 2013, 3:52 PM Hi Ted, On Feb 16, 2013, at 2:11 AM, Theodore Petrosky tedp...@yahoo.com wrote: @Override public Agenda duplicate

ideas to dupe an EO

2013-02-15 Thread Theodore Petrosky
I am looking for an idea on duping an EO. I've thought of putting a hyperlink on the listPage then I thought of putting a button on the editPage (i am toying with that now). I duped ERMODInspectPage and I added a button. If I create a localInstance in a new EC, how can I save this 'new' EO. it

Re: ideas to dupe an EO

2013-02-15 Thread David LeBer
You probably want ERXCopyable. http://www.mail-archive.com/webobjects-dev@lists.apple.com/msg52084.html D On 2013-02-15, at 10:42 AM, Theodore Petrosky tedp...@yahoo.com wrote: I am looking for an idea on duping an EO. I've thought of putting a hyperlink on the listPage then I thought of

Re: ideas to dupe an EO

2013-02-15 Thread Theodore Petrosky
with the method that fires to duplicate the EO. Could you point me to some code that actually copies? Ted --- On Fri, 2/15/13, David LeBer dleber_wo...@codeferous.com wrote: From: David LeBer dleber_wo...@codeferous.com Subject: Re: ideas to dupe an EO To: Theodore Petrosky tedp...@yahoo.com Cc

Re: ideas to dupe an EO

2013-02-15 Thread David Avendasora
and save a new copy the object(). i'm stuck with the method that fires to duplicate the EO. Could you point me to some code that actually copies? Ted --- On Fri, 2/15/13, David LeBer dleber_wo...@codeferous.com wrote: From: David LeBer dleber_wo...@codeferous.com Subject: Re: ideas to dupe

Re: ideas to dupe an EO

2013-02-15 Thread Theodore Petrosky
: ideas to dupe an EO To: Theodore Petrosky tedp...@yahoo.com Cc: WebObjects Development webobjects-dev@lists.apple.com Date: Friday, February 15, 2013, 3:52 PM Hi Ted, On Feb 16, 2013, at 2:11 AM, Theodore Petrosky tedp...@yahoo.com wrote: @Override public Agenda duplicate

Re: ideas to dupe an EO

2013-02-15 Thread Theodore Petrosky
Thank you very much for the catch!!! I am stuck half way in D2W land. the TPMODInspectPage only knows about the object(). I was hoping that I could just wire up a button that says Dupe and the method would dupe the EO, saveChanges and present the lastPage. Obviously, object().copy() won't work

Re: ideas to dupe an EO

2013-02-15 Thread David LeBer
Avendasora webobje...@avendasora.com wrote: From: David Avendasora webobje...@avendasora.com Subject: Re: ideas to dupe an EO To: Theodore Petrosky tedp...@yahoo.com Cc: WebObjects Development webobjects-dev@lists.apple.com Date: Friday, February 15, 2013, 3:52 PM Hi Ted, On Feb 16, 2013