RE: awakeFromInsertion on the client side in a D2J App
RE: awakeFromInsertion on the client side in a D2J App
- Subject: RE: awakeFromInsertion on the client side in a D2J App
- From: <email@hidden>
- Date: Thu, 14 Apr 2005 16:35:37 +0200
- Thread-topic: awakeFromInsertion on the client side in a D2J App
Hi!
awakeFromInsertion() is too early for a relationship to be set. It is called upon editingContext.insertObject(). At that time your EO is necessarily blank.
What are you trying to achieve?
Best,
Pierre Bernard
-----Original Message-----
From: webobjects-dev-bounces+pierre.bernard=email@hidden
[mailto:webobjects-dev-bounces+pierre.bernard=email@hidden]On
Behalf Of email@hidden
Sent: Thursday, April 14, 2005 4:32 PM
To: email@hidden
Subject: awakeFromInsertion on the client side in a D2J App
We are working on a Direct to Java Client application.
When we are trying to Add a record to a child table, the awakeFromInsertion
method does get called on the client, but its relationship to the parent EO
doesnt seem to reference to the right place. We do have the propagate key
checked on the parent to the child relationship in the EOModel.
Any thoughts on this?
Thanks,
Raj
_______________________________________________
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
**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender
of this message. (email@hidden)
This email message has been checked for the presence of computer
viruses; however this protection does not ensure this message is
virus free.
Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
**********************************************************************
_______________________________________________
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