Re: Getting strange KVC error concerning width and ERXSortOrder
Re: Getting strange KVC error concerning width and ERXSortOrder
- Subject: Re: Getting strange KVC error concerning width and ERXSortOrder
- From: Daniel Beatty <email@hidden>
- Date: Fri, 25 Dec 2009 09:55:07 -0800
Greetings Ramsey,
Turns out that you were right. Oops, my bad.
Thank you,
Dan
On Dec 24, 2009, at 6:52 PM, Ramsey Lee Gurley wrote:
>
> On Dec 24, 2009, at 8:18 PM, Daniel Beatty wrote:
>
>> Greetings all,
>> I was just toying with a D2W example and got a rather weird error. The error states the following:
>>
>> Application: Forum
>>
>> Error: valueForKey()]: lookup of unknown key: 'width'. The WOComponent er.extensions.ERXSortOrder does not have an instance variable of the name width or _width, nor a method of the name width, _width, getWidth, or _getWidth' object '' key 'width'>
>>
>> Reason: [<er.extensions.ERXSortOrder name: er.extensions.ERXSortOrder subcomponents: null > valueForKey()]: lookup of unknown key: 'width'. The WOComponent er.extensions.ERXSortOrder does not have an instance variable of the name width or _width, nor a method of the name width, _width, getWidth, or _getWidth
>
> I'm gonna say clean your project and your ERExtensions framework, because on line 157 of ERXSortOrder, I see
>
> public Object width() {
> return hasBinding("width") ? valueForBinding("width") : "9";
> }
>
> The error message is wrong. In fact, why is it reading er.extensions.ERXSortOrder. That should be er.extensions.components.ERXSortOrder unless you are using an ancient copy of ERExtensions.
>
> Ramsey
>
>
>>
>> At the time it was trying to list the elements of a table (Forum type). There is no width property in the forum table, nor should there be.
>>
>> Any ideas?
>>
>> Dan Beatty, M.S. CS (B.S. EECS)
>> Ph.D. Student
>> Texas Tech University
>> email@hidden
>> http://venus.cs.ttu.edu/~dabeatty
>> http://web.me.com/danielbeatty/My_Home_Page/Welcome.html
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
>
Dan Beatty, M.S. CS (B.S. EECS)
Ph.D. Student
Texas Tech University
email@hidden
http://venus.cs.ttu.edu/~dabeatty
http://web.me.com/danielbeatty/My_Home_Page/Welcome.html
_______________________________________________
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