XCode beginner needs help -- why does the app not recognize my enterprise object?
XCode beginner needs help -- why does the app not recognize my enterprise object?
- Subject: XCode beginner needs help -- why does the app not recognize my enterprise object?
- From: Gonzalo Moreno <email@hidden>
- Date: Mon, 18 Oct 2004 09:18:48 -0700 (PDT)
Hi,
I'm building a sample Authors app as described in the
WebObjects documentation, and I'm having trouble
getting it to work. It compiles correctly, but
apparently doesn't deploy correctly.
Using EOModeler, I created an Author EO that mirrors
an AUTHOR table in the db. I added the Java class
created by EOModeler to my XCode project, making sure
its target was 'application server'.
I get the following stack trace:
Application:
Authors
Error:
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
valueForKey(): lookup of unknown key: 'lastName'. This
class does not have an instance variable of the name
lastName or _lastName, nor a method of the name
lastName, _lastName, getLastName, or _getLastName
Reason:
<com.webobjects.eocontrol.EOGenericRecord 0x1ef69>
valueForKey(): lookup of unknown key: 'lastName'. This
class does not have an instance variable of the name
lastName or _lastName, nor a method of the name
lastName, _lastName, getLastName, or _getLastName
Even though Author subclasses EOGenericRecord, it's as
if the Author class isn't even taken into account ....
any ideas ??
thanks in advance,
Gonzalo.
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
_______________________________________________
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