Hello,

if you want to delete an item from a binded list, you can just delete  
the data model which represents the item. So just use splice on your  
data array and thats it for the client side. Everything else is  
handled by the binding code.
But how you delete the data on the server is not covered by the data  
binding because the binding can't know how you handle your data on the  
server and what kind of communication you are using.

Best,
Martin

Am 22.07.2009 um 08:37 schrieb GlebM:

>
> I have a list, which is binded to a json data-source.
> I want to delete a selected item from the server.
> How do I get the object associated with the list item?
> (i.e. in Java Swing it would be a list model element value)
>
> Thank you,
> Gleb
> P.S.: I found a good solution to the rails protect_from_forgery  
> issue, I
> will post it soon
>
> -- 
> View this message in context: 
> http://www.nabble.com/List%2C-ListItem-and-list-model-tp24600807p24600807.html
> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to