You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Sebastian Gabriel <Se...@hs-augsburg.de> on 2010/06/06 13:49:21 UTC

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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


AW: jWicket Drag'n'Drop

Posted by Stefan Lindner <li...@visionet.de>.
See previous mails on this list or nabble: http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-td1881857i20.html

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

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.Gabriel@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 


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


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


Re: jWicket Drag'n'Drop

Posted by Sebastian Gabriel <Se...@hs-augsburg.de>.
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.Gabriel@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 


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


RE: jWicket Drag'n'Drop

Posted by Stefan Lindner <li...@visionet.de>.
Hallo,

what exactly do you mean with "cloned"?

Stefan

-----Ursprüngliche Nachricht-----
Von: Sebastian Gabriel [mailto:Sebastian.Gabriel@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


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