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.

Warmest Regards,
Jim Wong



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
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