Following a similar example to the Twitter application I have a property
"fetchedData" in my class that stores a list obtained from a jsonp store. I
bind the store model to this property so the contents of the store are
available in that property.
I also have two drag and drop lists and I created a ListController for one
of the lists like so:
var controller = new qx.data.controller.List(null, firstList);
Then I bind the property to the list:
this.bind("fetchedData", listController, "model");
However I don't understand how the previous line works since I created the
controller without a model, but I assume the framework creates the model
when I bind the fetchedData property to the list.
I am listening to the "changeModel" event of the listController but it is
called only when the list is initially populated. When I drag and drop
items between the lists it is not called.
How can I guarantee that the model for the list is being updated? (I also
want to create a controller for the second list so I have a model for it
too).
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Binding-a-List-to-a-model-tp6342490p6342490.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel