Hello everyone,

I am experiencing some very strange behavior regarding data binding.
First off, would anyone know why the following XMLListCollection does
not bind successfully to its source,

<mx:XMLListCollection id="xlcUsers" filterFunction="filterUser"
source="{xmlSetup.lastResult.USER}"/>

The xmlSetup is a HTTPService that returns a list of user accounts in
e4x format. The moment I add a binding tag, like the one below, the
XMLListCollection has all the data I expect.

<mx:Binding destination="xlcUsers.source"
source="xmlSetup.lastResult.USER" />

I have several XMLListCollections bound to HTTPService results, and I
never had to create explicit bindings.

The second question is maybe related: Are there limits how many bindings
you can have in an application? It seems to me that, as the application
grows, and as I am adding more and more databound controls, previously
succesful databound controls "loose" their bindings silently. They can
be brought back by explicit calls to "executeBindings" but that sort of
defies the purpose of having it done automatically - if you have to be
explict, you may as well assign values upon change events...

Am I missing something...or does anyone else have similar experiences?

Thanks much

Iko



Reply via email to