Re: Problems with addObjectToBothSidesOfRelationshipWithKey
Re: Problems with addObjectToBothSidesOfRelationshipWithKey
- Subject: Re: Problems with addObjectToBothSidesOfRelationshipWithKey
- From: Owen McKerrow <email@hidden>
- Date: Fri, 19 Oct 2007 12:04:24 +1000
Hi Lachlan,
Nope that didn't fix it either :(
Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
'The test of a first-rate intelligence is the ability to hold two
opposed ideas in the mind at the same time and still be able to
function.'
-F.Scott Fitzgerald,
On 19/10/2007, at 11:36 AM, Lachlan Deck wrote:
Hi Owen,
On 19/10/2007, at 11:24 AM, Owen McKerrow wrote:
Im having a problem with
addObjectToBothSidesOfRelationshipWithKey, either that or I don't
understand how its meant to work correctly. That is when you use
addObjectToBothSidesOfRelationshipWithKey the relationships
between both objects should be updated. So if you have a
relationship between a dog and a cat, when you use
addObjectToBothSidesOfRelationshipWithKey to set the dog's
relationship to cat, its should auto set the cat's relationship
back to the dog.
Try the ol' removeObjectFromBothSidesForKey on objects you're re-
pointing elsewhere.
with regards,
--
Lachlan Deck
_______________________________________________
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