Open Menu
Close Menu
Apple
Shopping Bag
Apple
Mac
iPad
iPhone
Watch
TV
Music
Support
Search apple.com
Shopping Bag
Lists
Open Menu
Close Menu
Terms and Conditions
Lists hosted on this site
Email the Postmaster
Tips for posting to public mailing lists
Relationships
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Relationships
Subject
:
Relationships
From: Awbrey Hughlett <
email@hidden
>
Date: Wed, 1 Oct 2008 21:19:21 -0500
I have a component with an editing context linked to an entity named Listing. I have a WOPopUpButton that is populated from a entity named Basic. The Basic entity has two attributes: basicID (primary key), and basicType. basicID has a 'to many' relationship to the basicID attribute of the entity Listing. When I save the changes to the editing context, I want the basicID attribute in the selected value from the WOPopUpButton to populate the basicID attribute of the Listing entity. I can make it work if I make the basicID of both entities a class property, but I know there has to be a better way using the relationship I set up (given that I even did that correctly). Does the method 'addObjectToBothSidesOfRelationship()' have anything to do with that or am I just way off?
_______________________________________________
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
Follow-Ups
:
Re: Relationships
From:
Chuck Hill <email@hidden>
Re: Relationships
From:
Guido Neitzer <email@hidden>
Prev by Date:
Re: Latest wonder ajax resources causes severe slowdown under tomcat REPOST from Wonder list
Next by Date:
Re: Relationships
Previous by thread:
Re: Latest wonder ajax resources causes severe slowdown under tomcat REPOST from Wonder list
Next by thread:
Re: Relationships
Index(es):
Date
Thread