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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to