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: Nathan Hampton <email@hidden>
- Date: Tue, 1 Mar 2005 16:16:17 -0800
I this may be a general bug in Xcode 1.5; I think I had installed 1.5,
but have been on 1.1 (without this problem) since re-installing
everything. (I say a general bug because I wasn't using D2W, Display
Groups, or Java Client.)
--NCH
On 26 Feb 2005, at 2:34 PM, Travis Britt wrote:
On Jul 31, 2004, at 8:09 AM, Amorya North wrote:
[<com.webobjects.appserver.WOComponent name: TabsForShows
subcomponents: null > takeValueForKey()]: attempt to assign value to
unknown key: 'showID'.
The thing is, TabsForShows (the subcomponent I'm trying to call)
_does_
have a key called showID.
On Feb 16, 2005, at 11:50 PM, Nathan Hampton wrote:
This suddenly started happening to me, though in my case it's trying
to get the value. I first confirmed that the instance variable is
public (Note to Chuck: I re-typed it just to make sure).
Following up on this old thread...
I just had a similar issue: WO claiming a component didn't have an
accessor method for a key when it certainly did. In my case the
tell-tale clue was what WO yelled into the log, just before tossing up
NSKeyValueCoding$UnknownKeyException:
"WARNING: Unable to find component class named <Component Name>. If
this is not intended to be a classless component, check your framework
settings and the contents of your classpath file..."
I don't know if this is the cause of your problem, but my install of
Xcode 1.5 doesn't configure build phases correctly for Display Group
Components added via the little wizard (this is a project created in
xc1.5). There's a note about this problem pertaining to Direct To Web
and Java Client WO project at the end of the Xcode 1.5 rel notes, but
nothing about the DG component wizard. Anyway... Easily fixed by going
to the Application Server target and dragging the .java file for the
component from the Bundle Resources phase over to the Sources phase.
(This could be due to some unknown weirdness on my machine, I haven't
tested the behavior on a fresh Xcode 1.5/WO 5.2.3 install.)
tb
_______________________________________________
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