If you have binding expressions in the renderers and the data types are object
you will get this warning. Use [Bindable] classes instead of plain Objects.
On 8/2/10 3:43 PM, "luvfotography" wrote:
Hi, I'm getting this message,
I know it's not much to go on, but what could be the cause?
I
Hi, I'm getting this message,
I know it's not much to go on, but what could be the cause?
I have an array of objects of type 'myclass' and
create an arraycollection for a datagrid.
The warning just pops up in the console multiple times.
warning: unable to bind to property 'name' on class 'Obje
Hi... may this is weird
I´ve extended a Canvas component using mxml. When I use that component
inside a titlewindow it works...
but it doesn´t work inside other components and flex's console shows
this error:
warning: unable to bind to property 'width' on class 'Object' (class
is not an IEven
vents.EventDispatcher;
>> >> >
>> >> > public class TestBindings extends EventDispatcher
>> >> > {
>> >> >
>> >> > private var myNumber : Number = 10;
>> >> >
>> >> > public fun
>
> >> > myNumber++;
> >> > dispatchEvent(new Event("numberUpdated"));
> >> > }
> >> >
> >> > [Bindable(event="numberUpdated")]
> >> > public function get publicNumber() : Number { return myNumber; }
> >
> > [Bindable(event="numberUpdated")]
>> > public function get publicNumber() : Number { return myNumber; }
>> > }
>> > }
>> > -------
>> >
>> > This works as you'd expect it to, so it is possible to bind to read-on
t it to, so it is possible to bind to read-only
> > (and therefore also to immutable, if that really floats your boat) so
> long
> > as it's an IEventDispatcher.
> >
> > -J
> >
> > On Wed, May 21, 2008 at 2:34 PM, Alex Harui <[EMAIL
> > PROTECTED]&
x27;s why it is a warning. Sometimes you can ignore it.
>>
>>
>>
>>
>>
>> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
>> Behalf Of Richard Rodseth
>> Sent: Tuesday, May 20, 2008 9:11 PM
>>
t; Behalf Of *Richard Rodseth
> *Sent:* Tuesday, May 20, 2008 9:11 PM
>
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] "unable to bind to property" warnings binding
> to read-only properties
>
>
>
> Message delivery failed. Trying again, this t
; From: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
>> Behalf Of Richard Rodseth
>> Sent: Tuesday, May 20, 2008 2:53 PM
>> To: flexcoders@yahoogroups.com <mailto:flexco
>>
>>
>>
>>
>> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
>> Behalf Of Richard Rodseth
>> Sent: Tuesday, May 20, 2008 2:53 PM
>> To: flexcoders@yahoogroups.com
>> Subject: Re: [flexcoders]
I think it will detect changes where it can.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Tuesday, May 20, 2008 5:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] "unable to bind to pro
> see changes to it.
>
>
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Richard Rodseth
> *Sent:* Tuesday, May 20, 2008 2:53 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] "unable to bind to property&qu
ubject: Re: [flexcoders] "unable to bind to property" warnings binding
to read-only properties
Just when I think I understand binding
I believe I have the same issue described below. I have an immutable
class DateRange. Surely, if I have
[Bindable]
public var range:DateRange;
I sh
Just when I think I understand binding
I believe I have the same issue described below. I have an immutable
class DateRange. Surely, if I have
[Bindable]
public var range:DateRange;
I should be able to have a binding expression "{model.range.start}" ?
Thanks!
On Thu, Jul 19, 2007 at 8:06 A
I'm not the first person to run into this and after searching some
previous threads i don't see any good explanations. Any help is
appreciated.
When i build my app, i get these warning messages and not sure how to
fix them. I don't get any errors when i bind a label's text property
like thi
So I think I'm in need of some "Paint by Numbers" help here... this
one's just confusing me...
I've got an array that I'm populating with plain old Objects. I then
use that array as a dataProvider for a Repeater (or what have you) and
bind some labels within that repeater to properties of my Obje
17 matches
Mail list logo