I'm sick of seeing
Data binding will not be able to detect changes when using square
bracket operator. For Array, please use ArrayCollection.getItemAt()
when using an arrayObj[arrayPropertyOrIndex] inside of an MXML property.
I know that it won't be propagated down if the array changes, but
I would expect you to only get that warning if you're using binding with the
MXML property... if you're not using binding, then it shouldn't care (it'll
just initialize the value at the time of instantiation). Does your MXML look
like this:
mx:Label text={arrayObj[0]} /
I'm guessing you're
] On
Behalf Of Valy Sivec
Sent: Tuesday, March 27, 2007 9:49 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Data binding will not be able to detect
changes... ?
Per my knowledge for Array and XMLList data binding won't detect data
changes. I suggest you use XMLListCollection and the warning
AM
Subject: Re: [flexcoders] Data binding will not be able to detect changes... ?
the whole model is bindable..
[Bindable]
public class MyModel implements ModelLocator {
...
...
public var DALocationsXML: XMLList;
...
On 3/27/07, Tom Chiverton tom.chiverton@ halliwells. com wrote:
On Tuesday 27
I've got an XML List
with information something like:
locations
default
location address1=123 Street locationid=1234 ... /
/default
I have it declared in my Model as an XMLLIst: public var DALocationsXML:XMLList;
and in one of my views, I'm trying to load the data into a
On Tuesday 27 Mar 2007, Greg Morphis wrote:
How can I knock this warning out?
[Bindable]
--
Tom Chiverton
Helping to advantageously restore cutting-edge platforms
on: http://thefalken.livejournal.com
This email is sent for and on behalf of
the whole model is bindable..
[Bindable]
public class MyModel implements ModelLocator {
...
...
public var DALocationsXML:XMLList;
...
On 3/27/07, Tom Chiverton [EMAIL PROTECTED] wrote:
On Tuesday 27 Mar 2007, Greg Morphis wrote:
How can I knock
It's because the .default node is not bindable (it's an anonymous element of
an xml object). Doesn't the warning mention something about not implementing
the IEventDispatchable (or other!) interface?
What is the best practice for this?
I know you could point a bindable property to that node
:06 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Data binding will not be able to detect
changes... ?
Nah, the full warning is
Data binding will not be able to detect changes to XMLList default,
need an XML instance.
I'll give that a shot though...
On 3/27/07, slangeberg
9 matches
Mail list logo