On 2010-02-17, at 6:17 AM, David Avendasora wrote:
>
> On Feb 16, 2010, at 5:31 PM, David LeBer wrote:
>
>> It definitely doesn't work trying to pull an EO in a child ec into it's
>> parent's. i.e:
>>
>> EOEditingContext rootEc = ERXEC.newEditingContext();
>> EOEditingContext childE
> and I don't think you even need to do the localInstance, do you? (It's been a
> while since I did nested ECs)
yeah, you do have to local instance (or i will blow up)
ms
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev
On Feb 16, 2010, at 5:31 PM, David LeBer wrote:
> It definitely doesn't work trying to pull an EO in a child ec into it's
> parent's. i.e:
>
> EOEditingContext rootEc = ERXEC.newEditingContext();
> EOEditingContext childEc = ERXEC.newEditingContext(rootEc);
> Movie m = Movie.c
On 16/Feb/2010, at 2:31 PM, David LeBer wrote:
> BOOM: "You attempted to localInstance
> , which has not yet
> committed."
s/committed/been saved to the parent objectStore/
would make more sense to me... Then it would be clear that calling
saveChanges() on the child EC would be needed before
This can't work.
s isn't saved in the child, so you can't fault it into the parent.
You *should* be able to fault m into the child, though.
Thanks for wasting 10 mins of my time.
Cheers, Anjo
Am 16.02.2010 um 23:31 schrieb David LeBer:
>
> On 2010-02-16, at 5:19 PM, Chuck Hill wrote:
>
On 2010-02-16, at 5:19 PM, Chuck Hill wrote:
> On Feb 16, 2010, at 2:17 PM, David LeBer wrote:
>> On 2010-02-16, at 4:41 PM, Chuck Hill wrote:
>> On Feb 16, 2010, at 1:32 PM, David LeBer wrote:
>>>
This is something I've run into multiple times, hacked something to work,
and then thou
On Feb 16, 2010, at 2:17 PM, David LeBer wrote:
On 2010-02-16, at 4:41 PM, Chuck Hill wrote:
On Feb 16, 2010, at 1:32 PM, David LeBer wrote:
This is something I've run into multiple times, hacked something
to work, and then thought there must be a better way.
The scenario:
-
On 2010-02-16, at 4:41 PM, Chuck Hill wrote:
>
> On Feb 16, 2010, at 1:32 PM, David LeBer wrote:
>
>> This is something I've run into multiple times, hacked something to work,
>> and then thought there must be a better way.
>>
>> The scenario:
>> --
>>
>> I have Studio > Movi
On Feb 16, 2010, at 1:32 PM, David LeBer wrote:
This is something I've run into multiple times, hacked something to
work, and then thought there must be a better way.
The scenario:
--
I have Studio > Movie
If I create a new Studio, I will use a generic Studio edit form to
This is something I've run into multiple times, hacked something to work, and
then thought there must be a better way.
The scenario:
--
I have Studio > Movie
If I create a new Studio, I will use a generic Studio edit form to set it's
values, the form has a button that allows th
10 matches
Mail list logo