Re: unable to set bindings on custom wocomponents
Re: unable to set bindings on custom wocomponents
- Subject: Re: unable to set bindings on custom wocomponents
- From: Will Norris <email@hidden>
- Date: Fri, 6 May 2005 17:07:25 -0500
no, there is no instance variable, only a binding.
On 5/6/05, Mark Morris <email@hidden> wrote:
> Just to make sure, you never verified that you have an instance
> variable or methods in the PageWrapper component that correspond to
> "title". (This is the error that you would get if there isn't one.)
>
> On May 6, 2005, at 3:56 PM, Will Norris wrote:
>
> > I have a custom component "PageWrapper" that has a number of bindings,
> > including one called "title". I fire up my Main component in
> > WOBuilder, add PageWrapper as a custom component, and have all of the
> > bindings for that component available. I set a value for the "title"
> > binding. However, whenever I run the application, I get the following
> > error..
> >
> > Error: com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
> > [ takeValueForKey()]: attempt to assign value to unknown key: 'title'.
> > This WOComponent does not have an instance variable of the name title
> > or _title, nor a method of the name setTitle or _setTitle
> >
> > It's like it isn't seeing the binding at runtime. Any ideas? I've
> > been having a number of other problems getting WOProject to work with
> > Tiger, so I'm not sure if it is a WebObjects problem or WOProject
> > problem. I'm using WO5.2.4.
> >
> > Thanks,
> > Will
>
>
_______________________________________________
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