Hi I would like to suggest a buffer be added to the list and table widgets which would contain the currently selected item in the model. It would be updated on every selection change. This would allow the detection of changes made to the currently selected model item by data bound widgets. One could simple check each item in the currently selected model item with the same item in the buffer to see if changes were made. If changes have been made the programmer would then be able to send only the changed items back to a remote database for storage.
There should be several new methods created related to the buffer. 1) getChangedItems() should return an array of changed item names. 2) getPreviousValue(name) should return the value of the named item from the buffer. Example: The list model.ARMaster contains the following items: Name, Address1,Address2,ZIP,TelNo and the user has changed the values of the ZIP, and TelNo. In this case the getChangedItems().getLength() would return 2 and getChangedItems(0)="ZIP" getChangedItems(1)="TelNo" and getPreviousValue("TelNo") would return the value the TelNo had when the item was most recently selected in the list. Thanks, Simon P.S. I have logged this in the bug tracker. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel