I have a for loop and within the loop
I have a for loop and within the loop I am calling a remote object method that returns an ArrayCollection. At each iteration of the loop the content of the ArrayCollection changes and I am setting the dataProvider of a ComboBox to that ArrayCollection in each iteration.
However, only my last ComboBox is being binded to the latest content of the ArrayCollection.
The remote_obj.getYN is the function that takes as parameter the value from the loop and as such as I mentioned above in each iteration the content of the arrayCollection changes due to this function being called.
|