List on the view doesn't update.


hello,

i'm new framework , have problems updating list value in view part. want quite simple select few files (add file names list) have 1 button , 1 list. in command update data provider object list ok, , number of file name correct. bind value in view list isn't updated. need explicitly in view part like:

listfiles.dataprovider = uploadmodel.arruploadfiles;

in order update list. behaviour normal framework, or made mistake ? model , modellocator class declared [bindable].

i mean, general question be, if update model in command class, change viewable on view part?

thanks in advance.

regards,
ljubisa

i haing similar problem have returned type of arraycollection , assign result model variable , nothing is  shows on the

view ( list/combobox same )

 

i have tried

mymodel=modellocator.getinscance();

mymodel.variable = new arraycollection( array result);

 

and nothing.

 

using cairngorm2.2 + air2rc



More discussions in Cairngorm Development


adobe

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code