• 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
XCode beginner needs help -- why does the app not recognize my enterprise object?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: XCode beginner needs help -- why does the app not recognize my enterprise object?
      • From: Kieran Kelleher <email@hidden>
  • Prev by Date: Re: Feedback?
  • Next by Date: Re: Quicktime - SMILE - WO ?
  • Previous by thread: Re: Feedback?
  • Next by thread: Re: XCode beginner needs help -- why does the app not recognize my enterprise object?
  • Index(es):
    • Date
    • Thread