Relationships howto
Relationships howto
- Subject: Relationships howto
- From: Jim Wong <email@hidden>
- Date: Thu, 2 Feb 2006 10:59:34 +0800
Hi: help help!!
I have 2 tables. COMPANY and COUNTRY. in COMPANY, i have a country(integer type) attribute. in COUNTRY, i have ctryID(int type) and ctryName(string). Each ctryName will have a unique corresponding ctryID.
in a web component, user will select from a WOPopup(which draws out all the ctryName from COUNTRY for display) a country of the company. Upon submit, I want the corresponding ctryID from COUNTRY to be in country of COMPANY.
How do I create the relationships and make the bindings etc for the 2 tables and WOPopup? what codes do I have to enter manually like addObjectsToBothSidesOfRelationshipWithKey etc.?
thanks. |
_______________________________________________
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