On Feb 5, 2006, at 4:50 AM, Jim Wong wrote:
If I do what's described below and have my selection of the WOPopupButton to be an object (Country), I want to pass this object's countryID attribute to a string tempCountry in my code. How can I do so?
A primary key such as countryID should almost never be a class property and thus accessible in one's Java code. Instead, set tempCountry to the Country object selected by the WOPopupButton.
I have occasionally needed a primary key to store in a cookie, for example. One can use EOUtilities.primaryKeyForObject() to get the primary key of an object.
Aloha, Art _______________________________________________ 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]
