RE: jWicket Drag'n'Drop

2010-06-06 Thread Stefan Lindner
Hallo,

what exactly do you mean with cloned?

Stefan

-Ursprüngliche Nachricht-
Von: Sebastian Gabriel [mailto:sebastian.gabr...@hs-augsburg.de] 
Gesendet: Sonntag, 6. Juni 2010 13:49
An: users@wicket.apache.org
Betreff: jWicket Drag'n'Drop

Hello,
I am trying to build a drag and drop component, which display three different 
list and the user should be able to move the listeitems between the different 
lists. 
I have the lists and I'm able to move the items to other lists where they also 
be displayed. My problem is when I drop a listitem into a list the item is 
'cloned' - after drop the item is in the list and also in the place where I 
have dropped it. So this is my first problem and the second is, that an item 
which was dropped onto a list, can't be moved at all, although all three lists 
are instances of the same class. Perhaps somebody has a clue what I'm doing 
wrong.

Thanks
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: jWicket Drag'n'Drop

2010-06-06 Thread Sebastian Gabriel
Well, 
in the onDrop() method of the listcontainer the droppedelement is added to the 
list. At this point I want the element which was dropped to disappear. Because 
if not the element is displayed twice.

Thanks


Am 06.06.2010 um 17:23 schrieb Stefan Lindner:

 Hallo,
 
 what exactly do you mean with cloned?
 
 Stefan
 
 -Ursprüngliche Nachricht-
 Von: Sebastian Gabriel [mailto:sebastian.gabr...@hs-augsburg.de] 
 Gesendet: Sonntag, 6. Juni 2010 13:49
 An: users@wicket.apache.org
 Betreff: jWicket Drag'n'Drop
 
 Hello,
 I am trying to build a drag and drop component, which display three different 
 list and the user should be able to move the listeitems between the different 
 lists. 
 I have the lists and I'm able to move the items to other lists where they 
 also be displayed. My problem is when I drop a listitem into a list the item 
 is 'cloned' - after drop the item is in the list and also in the place where 
 I have dropped it. So this is my first problem and the second is, that an 
 item which was dropped onto a list, can't be moved at all, although all three 
 lists are instances of the same class. Perhaps somebody has a clue what I'm 
 doing wrong.
 
 Thanks
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org