The issue I mentioned in the last post was due to a lack of [Bindable]
clauses where they were needed.
--- In flexcoders@yahoogroups.com, arieljake [EMAIL PROTECTED] wrote:
In response:
1) I apparently must use {categoryData.allAvailableCategories.source}
as the source attribute because FlexBuilder complains about cast of
ArrayCollection to Array.
2) If I make the change in #1, then I get the warning that Data
binding will not be able to detect assignments. How can I make that go
away?
--- In flexcoders@yahoogroups.com, Manish Jethani
manish.jethani@ wrote:
On 5/6/07, arieljake arieljake@ wrote:
[snip]
It seems that setting the filterFunction is affecting the
allAvailableCategories variable when I trace the length of the
allAvailableCategories variable after the listData is refreshed.
Why?
here is the code:
model:CategoryData id=categoryData /
mx:ArrayCollection id=listData /
mx:Binding source={categoryData.allAvailableCategories}
destination=listData /
mx:List id=categoryList dataProvider={listData} /
I think you want to do this instead:
ArrayCollection id=listData
source={categoryData.allAvailableCategories} /
i.e. remove the binding and use the source property of the collection.