Re: attempt to assign value to unknown key
Re: attempt to assign value to unknown key
- Subject: Re: attempt to assign value to unknown key
- From: William Norris <email@hidden>
- Date: Mon, 2 Aug 2004 11:10:20 -0500
I just fought with this for a good half hour and ended up restarting
the project from scratch (fortunately, I was still early on). one
thing i did differently that *might* have made a difference was
changing the build target from "application server" to [project name].
granted I'm still new at this and am still learning exactly what the
build targets do, but it's worth a shot. ymmv.
-will
On Sat, 31 Jul 2004 13:09:20 +0100, Amorya North
<email@hidden> wrote:
> I'm getting this error:
>
> Error:
> com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException: [
> takeValueForKey()]: attempt to assign value to unknown key: 'showID'.
> This WOComponent does not have an instance variable of the name showID
> or _showID, nor a method of the name setShowID or _setShowID
>
> Reason:
> [<com.webobjects.appserver.WOComponent name: TabsForShows
> subcomponents: null > takeValueForKey()]: attempt to assign value to
> unknown key: 'showID'. This WOComponent does not have an instance
> variable of the name showID or _showID, nor a method of the name
> setShowID or _setShowID
>
> The thing is, TabsForShows (the subcomponent I'm trying to call) _does_
> have a key called showID.
>
> I'm stumped. Any ideas what could be going wrong?
>
> Amorya
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.