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
> dan.bea...@mac.com
> 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      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40mac.com
> 
> This email sent to rgur...@mac.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to