• 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
Re: Help: How to use WOPopupButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help: How to use WOPopupButton


  • Subject: Re: Help: How to use WOPopupButton
  • From: Art Isbell <email@hidden>
  • Date: Sun, 5 Feb 2006 09:06:32 -1000

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Help: How to use WOPopupButton (From: Jim Wong <email@hidden>)

  • Prev by Date: Re: Problem searching with an EOOrQualifier
  • Next by Date: Re: Chart with WebObjects
  • Previous by thread: Re: Help: How to use WOPopupButton
  • Next by thread: Re: Help: How to use WOPopupButton
  • Index(es):
    • Date
    • Thread