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 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