Apologies for the duplicate posting. It seems when I posted the previous one I wasn't subscribed to mailing list.
I would like to drag an item from list A into list B but instead of removing the item from list A, I would like to create a copy of the dragged item into list B. Also, If I drag item from List B and drop it back into List A, I'd like to remove the item from list B. I thought using YuiDDListView and YuiDDTarget would have been enough since there has been http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-td1881857.html lengthy debates in the past and the conclusion was that YUI drag and drop was best. But it isn't in this case since when dragging item from list A to list B, it adds the item to list B but it removes it from list A. Unless there is a work around, which would help. I noticed that the very same question has been http://apache-wicket.1842946.n4.nabble.com/Failing-to-remove-item-from-list-when-drag-and-dropping-td1960968.html asked before and the suggestion was to use wicket-dnd. Is this still the case? is wicket-dnd still the best solution for this particular requirement? Effectively, the behaviour that I'm trying to reproduce is: to drag an item from a list into a grid. That should not remove the item from list and it should add item to grid slot. to move items from one grid slot to another. to remove an item from grid by dragging it from grid slot and dropping it in list. Is wicket-dnd still the best for copying item from list instead of removing it as it happens with YUI drag and drop? Thanks in advance, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Drag-and-Drop-simply-copy-from-list-A-to-list-B-tp3335780p3335780.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
