• 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: objectMatchingKeyAndValue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: objectMatchingKeyAndValue


  • Subject: Re: objectMatchingKeyAndValue
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 16 Feb 2006 18:13:23 -0800


On Feb 16, 2006, at 6:14 PM, Jim Wong wrote:

Apparently for objectMatchingKeyAndValue to work, the key defined in it must exist.

um, yes. How did you expect it to find objects based on a key that does not exist?



else it gives an error of unable to find the element with the key defined. how to handle such error?

Well, the obvious answer is to not use keys that don't exist. As you can see the key names in EOModeler, that should not be too difficult.

What is it you are trying to do?

Chuck

--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________ 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: 
 >objectMatchingKeyAndValue (From: Jim Wong <email@hidden>)

  • Prev by Date: Re: pulling data from 2 tables
  • Next by Date: Re: Problem with page encoding
  • Previous by thread: objectMatchingKeyAndValue
  • Next by thread: NSSet error
  • Index(es):
    • Date
    • Thread