2011/3/30 Martin Wittemann <[email protected]> > The only thing you have to keep in mind is that you have to stay on the > model level all the time.
And that is the thing I was missing. :) > We need to use the getItem method on that array because its a qooxdoo data > array. Thats also a well known source of mistakes. Just as a little warning > here. ;) While we are here, I have another question, that bothers me. Why does console.log(listController.getModel()) always show an empty array? I've looked at the model before, but ignored it due to its "emptiness".. > Thats how easy it is. :) True. :) > Do you also plan to synchronize the selection of list and selectbox? That > could be a bit more tricky because you are not using the default model for > the selectbox (see bindItem of the select box). Not at the moment, but if you wish to elaborate, I'll be happy to read about that. And here is extended playground example for future reference - while I needed to handle inserting new data as well, I've added it to the code: http://tinyurl.com/6jwvfnu Thank you for help. Regards, P. ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
