It's a standard List component.

--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> What is the dataProvider?  What data type?
> 
> Tracy
> 
>  
> 
> ________________________________
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of jmfillman
> Sent: Tuesday, May 06, 2008 6:47 PM
> To: [email protected]
> Subject: [flexcoders] Re: itemRender Debug Warnings
> 
>  
> 
> Thank you for the reply Tracy!
> 
> So instead of adding the items to the list as an Object I 
> should......?
> 
> var objDG:Object = {itemID: myID, index: myAC[myID].id, display: 
> gridDisplay, toolTip: tipText};
> 
> myList.dataProvider.addItem(objDG);
> 
> --- In [email protected] <mailto:flexcoders%
40yahoogroups.com>
> , "Tracy Spratt" <tspratt@> wrote:
> >
> > Neither Array nor Object are bindable, they do not dispatch the
> > necessary events. Wrap your Array in an ArrayCollection.
> > 
> > 
> > 
> > One other cause of this warning is when you have a bindable 
object 
> that
> > you reference through a property typed as Object, as with 
> selectedItem,
> > currentItem, data, getRepeaterItem(), etc. In that case you can 
> convert
> > or cast the Object to the true data type to prevent the warnings.
> > 
> > 
> > 
> > Tracy
> > 
> > ________________________________
> > 
> > From: [email protected] <mailto:flexcoders%
40yahoogroups.com>
> 
> [mailto:[email protected] <mailto:flexcoders%
40yahoogroups.com>
> ] On
> > Behalf Of jmfillman
> > Sent: Tuesday, May 06, 2008 6:14 PM
> > To: [email protected] <mailto:flexcoders%
40yahoogroups.com> 
> > Subject: [flexcoders] itemRender Debug Warnings
> > 
> > 
> > 
> > Since implementing some itemRenderers, I've been getting 
warnings, 
> in 
> > Debug mode, that read like this:
> > 
> > warning: unable to bind to property 'display' on class 'Object' 
> (class 
> > is not an IEventDispatcher)
> > 
> > From what I've been able to find on the www, is that this is 
> related to 
> > setting RemoteObject results to an array, like this:
> > 
> > myAC.source = event.result as Array;
> > 
> > Question is, how to I do this correctly to prevent all those 
> warnings?
> >
>


Reply via email to