Yes, you were right. I wasn't correctly accessing the table item
before getting to the ImageView I wanted. Finding the relevant row
On Aug 23, 6:14 pm, MikeC <
michael.lee.co...@gmail.com> wrote:
> From the error message, the framework is telling you you're getting a
> class instead of an instance of SC.View. Looking at your code snippet,
> the view assigned to the accessoryColumn property may still be a class
> instead of an instance of SC.View. If you open something like firebug
> and try to access that property, what do you get? An instance of
> SC.View? Also, are you using the SC.TableView?
>
> On Aug 23, 5:28 pm, "Jeffrey O'Dell" <
jeffrey.od...@gmail.com> wrote:
>
>
>
> > Yep, this is where I find myself. I'm trying to get at something like:
>
> > ...
> > accessoryColumn: SC.View.extend({
> > childViews: ['button'],
> > layout: { top: 0 },
> > button: SC.ImageView.design({
> > value: 'foobar',
> > ...
>
> > and was trying to crawl down the path via something like
>
> > App['mainPage.mainView.tableView.accessoryColumn', View]
>
> > which gets me stuck at:
>
> > Lebowski::Foundation::UnexpectedTypeError: Did not get expected type
> > 'SC.View' for path 'mainPage.mainView.tableView.accessoryColumn'. Instead
> > got class: #<Lebowski::Foundation::ProxyObject:0x102218588>
> > from
> > /Users/jodell/.rvm/gems/ruby-1.8.7-p299/gems/lebowski-0.1.1/lib/lebowski/fo undation/proxy_object.rb:571:in