Question
List on the view doesn't update.
Hello,
I'm new with this framework and I have some problems with updating list value in the View part. What I want to do is quite simple select few files (add those file names to the list) I have one button and one list. In my command where I update data provider object for that list everything is ok, and number of file name is correct. I bind that value in the View but the list isn't updated. I need explicitly in View part to say something like:
listFiles.dataProvider = uploadModel.arrUploadFiles;
in order to update list. Is this behaviour normal for this framework, or I made some mistake ? Model and ModelLocator for that class are declared as [Bindable].
I mean, my general question would be, if you update model in command class, is that change viewable on the view part?
Thanks in advance.
Regards,
Ljubisa
I'm new with this framework and I have some problems with updating list value in the View part. What I want to do is quite simple select few files (add those file names to the list) I have one button and one list. In my command where I update data provider object for that list everything is ok, and number of file name is correct. I bind that value in the View but the list isn't updated. I need explicitly in View part to say something like:
listFiles.dataProvider = uploadModel.arrUploadFiles;
in order to update list. Is this behaviour normal for this framework, or I made some mistake ? Model and ModelLocator for that class are declared as [Bindable].
I mean, my general question would be, if you update model in command class, is that change viewable on the view part?
Thanks in advance.
Regards,
Ljubisa
