Re: Drag and Drop, simply copy from list A to list B

2011-03-17 Thread lucast
Hi Bruno, Sorry. I should correct myself. I have used wicket-dnd, I took no part in developing this amazing drag and drop functionality. But I am finding it extremely useful in my pet project. I have implemented a very small and simple example about what I asked above (code attached). I

Re: Drag and Drop, simply copy from list A to list B

2011-03-16 Thread lucast
For the requirements described above I have implemented wicket-dnd and I have to say it works like a charm. In case anyone finds themselves in a similar predicament any time soon, I thought I put it out there. -- View this message in context:

Re: Drag and Drop, simply copy from list A to list B

2011-03-16 Thread Bruno Borges
You can submit that component to wicketstuff. www.wicketstuff.org Congratulations for the great work! Bruno Borges www.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld On Wed, Mar

Re: drag and drop

2010-06-09 Thread DerBernd
Hi, little question at this point. How do I get the child-components of an RepeatingView. Isn't there any kind of Collection? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-tp1881857p2248428.html Sent from the Wicket - User mailing list archive at

RE: drag and drop

2010-06-07 Thread DerBernd
Hi, another question of mine: Is there any implementation of an Sortable where I can change order of li items within an ul by dragging and dropping. Or what would even be better: change order of Components in an RepeatingView. I found the org.wicketstuff.jquery.dnd.DnDSortableHandler. But do

Re: drag and drop

2010-06-07 Thread Istvan Jozsa
You can implement by adding DraggableBehavior *and* DroppableBehavior to each item, something like this: add(new DraggableBehavior() { { setName(someName); setRevert(DraggableBehavior.DragRevertMode.ALWAYS); setRevertDuration(0);

Re: drag and drop

2010-06-07 Thread DerBernd
Ok, I think I understood, but how do you get the seqnum? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-tp1881857p2245847.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: drag and drop

2010-06-07 Thread Istvan Jozsa
My seqnums are persistently stored, when items are retrieved so the seqnum. I used models to pass and get item data: @Override public void populateItem(final ItemItemData item) { final ItemData itemData = item.getModelObject(); item.add(new MyLink(title, new

Re: drag and drop

2010-06-04 Thread DerBernd
Thank you for your help. So I solved it by using repeaters RepeatingView. On DropEvent I add the droppedComponent to the repeating view and update the page. I also had to set wantOnDragStartNotification(false), wantOnDragStopNotification(false), otherwise the dropped Component was not found on

RE: drag and drop

2010-06-04 Thread Stefan Lindner
Could you provide a small testcase? I'm using dd very intensive in a calendar app and never had any problems with this. Stefan -Ursprüngliche Nachricht- Von: DerBernd [mailto:beha...@web.de] Gesendet: Freitag, 4. Juni 2010 11:06 An: users@wicket.apache.org Betreff: Re: drag and drop

Re: drag and drop

2010-06-04 Thread DerBernd
No I have a absolutely specific question to jwicket-jquery. I want to set the handle option on a draggable, to define the tag which is used to drag the panel. e.g. handle: 'h2' Unfortunately theres no setter for the handle option. Thank you -- View this message in context:

RE: drag and drop

2010-06-04 Thread Stefan Lindner
side effect of calling wantOnDragStartNotification(false); There must be some other strange situation. Stefan -Ursprüngliche Nachricht- Von: DerBernd [mailto:beha...@web.de] Gesendet: Freitag, 4. Juni 2010 11:06 An: users@wicket.apache.org Betreff: Re: drag and drop Thank you

RE: drag and drop

2010-06-04 Thread DerBernd
So here is my Example Case I have several Platzhalter which implement IDroppable and some FeldKursObjects which implement IDraggable. The FeldKurs Components are dragged on Placeholders. When I define dragger.setWantOnDragStartNotification(true); dragger.setWantOnDragStopNotification(true);

RE: drag and drop

2010-06-04 Thread Stefan Lindner
or in othe rwords: move the onDrop code to the onDragEnd. Sorry, but this is a general problem that can't be fixed in jWicket. Stefan -Ursprüngliche Nachricht- Von: DerBernd [mailto:beha...@web.de] Gesendet: Freitag, 4. Juni 2010 11:36 An: users@wicket.apache.org Betreff: RE: drag and drop

RE: drag and drop

2010-06-04 Thread DerBernd
Ok, thank you, good to know. At the moment I don't need to watch the dragStop or DragStart Event. So I can leave it as it is. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-tp1881857p2243182.html Sent from the Wicket - User mailing list archive at

RE: drag and drop

2010-05-26 Thread Stefan Lindner
: DerBernd [mailto:beha...@web.de] Gesendet: Mittwoch, 26. Mai 2010 07:51 An: users@wicket.apache.org Betreff: Re: drag and drop Hi, now I tried jwicket-examples and it works quite well. But at the momemt I stuck into a problem and I hope you can help me out. I have a Panel Placeholder that implements

RE: drag and drop

2010-05-26 Thread DerBernd
Exactly, this is what I want to do! Can you tell me how to solf this problem? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-tp1881857p2231455.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: drag and drop

2010-05-26 Thread Ernesto Reinaldo Barreiro
Why don't you use repeaters? What about C1 and C2 contains a repeaters a draw contents based on some Info. When you move A from C1 to C2 then you just move InfoA, info associated twith A, from C1 to C2 and then repaint them. As they are dynamically generated based on Info then the effect will be

Re: drag and drop

2010-05-26 Thread Ernesto Reinaldo Barreiro
Is my poor English is getting worse because of lack of sleep? Why don't you use repeaters? 1-Let's say C1 and C2 contain repeaters that draw their contents based on some list of Info classes. 2-When you move A from C1 to C2 then you just move InfoA, info associated twith A, from C1 to C2 and

Re: drag and drop

2010-05-25 Thread DerBernd
Hi, now I tried jwicket-examples and it works quite well. But at the momemt I stuck into a problem and I hope you can help me out. I have a Panel Placeholder that implements IDroppable And a Panel Field that implements IDraggable So I have some empty Placeholders and a few Placeholders that are

Re: drag and drop

2010-05-20 Thread DerBernd
Hi, first of all I have to thank you for your many answers .. and your following discussion:-) I will start with the jwicket-examples and see how it works. Thanks a lot Bernd -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-tp1881857p2224344.html Sent

Re: drag and drop

2010-05-19 Thread DerBernd
Hi, I'm working on a wicket-project (1.4) and need to implement some dragdrop features. Could you give me some current links of tutorials to start with. I also don't know which technology to choose: YUI, DOJO, scriptaculous ??? Thank you for your help Bernd -- View this message in context:

Re: drag and drop

2010-05-19 Thread Ernesto Reinaldo Barreiro
Hi Bernd, I would use YUI or give it a try to [1] as: 1-scriptacoulous has the problem (for IE) mentioned on this thread (disclaimer: I don't know if it has been fixed after this tread was created and taht was long ago)/ 2-jQuery DD is also broken for IE after AJAX replacements (Stefan Lindner

Re: drag and drop

2010-05-19 Thread Stefan Jozsa
I used wicketstuff-jwicket with SUCCESS. It is based on jQuey, is a non intrusive, extremly easy to use library. Istvan --- On Wed, 5/19/10, DerBernd beha...@web.de wrote: From: DerBernd beha...@web.de Subject: Re: drag and drop To: users@wicket.apache.org Date: Wednesday, May 19, 2010, 10

Re: drag and drop

2010-05-19 Thread Stefan Jozsa
I can confirm, that it _IS_ patched, dragdrop works on IE. Istvan ... think Stefan has patched the jquery.js file to get it working for his jWicket project. - To unsubscribe, e-mail:

Re: drag and drop

2010-05-19 Thread Ernesto Reinaldo Barreiro
Hi Istvan, Don't take me wrong but: can you confirm that any other third party plugins you want to integrate with your application will work with the patched version of jquery? I know Stefan has tested a lot his fix but you cannot be 100% sure that this fix will not brake other untested

Re: drag and drop

2010-05-19 Thread David Leangen
Can you provide a link to the issue? I'll vote for it. Maybe lots of other people on this list could do the same. ;-) On May 19, 2010, at 8:14 PM, Ernesto Reinaldo Barreiro wrote: Hi Istvan, Don't take me wrong but: can you confirm that any other third party plugins you want to

Re: drag and drop

2010-05-19 Thread Martin Makundi
If you have a patch, should be easy to get it accepted to jquery, no? 2010/5/19 Ernesto Reinaldo Barreiro reier...@gmail.com: Hi Istvan, Don't take me wrong but: can you confirm that any other third party plugins you want to integrate with your application will work with the patched version

Re: drag and drop

2010-05-19 Thread Ernesto Reinaldo Barreiro
Hi David, The issue is [1]. I discovered it while I was working on [2]: a grid component allowing to sort columns by dragging them. That feature works fine in any other browser I have tested (FF, Chrome, Opera) except any version (I have tested) of IE. I was able to reproduce the issue using

Re: drag and drop

2010-05-19 Thread Ernesto Reinaldo Barreiro
Stefan has a patch. He posted his patch on the issue I created... See my previous e-mail Ernesto On Wed, May 19, 2010 at 1:22 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: If you have a patch, should be easy to get it accepted to jquery, no? 2010/5/19 Ernesto Reinaldo Barreiro

Re: drag and drop

2009-04-01 Thread Daniel Ferreira Castro
Nachricht- Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Gesendet: Donnerstag, 19. März 2009 21:31 An: users@wicket.apache.org Betreff: Re: drag and drop I would use YUI drag and drop instead of scriptaculous. I was using scriptaculous for that purpose, I just

Re: drag and drop

2009-04-01 Thread Martin Makundi
. -Ursprüngliche Nachricht- Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Gesendet: Donnerstag, 19. März 2009 21:31 An: users@wicket.apache.org Betreff: Re: drag and drop I would use YUI drag and drop instead of scriptaculous. I was using scriptaculous for that purpose, I

Re: drag and drop

2009-03-20 Thread Ernesto Reinaldo Barreiro
[mailto:reier...@gmail.com] Gesendet: Donnerstag, 19. März 2009 21:31 An: users@wicket.apache.org Betreff: Re: drag and drop I would use YUI drag and drop instead of scriptaculous. I was using scriptaculous for that purpose, I just implemented a table with draggable columns, but I had some

Re: drag and drop

2009-03-19 Thread Eike
hi, I used one of http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-scriptaculous/1.3-SNAPSHOT/ successfully with wicket 1.3.5. example code is provided in 1.4, this helps getting startet

Re: drag and drop

2009-03-19 Thread Ernesto Reinaldo Barreiro
I would use YUI drag and drop instead of scriptaculous. I was using scriptaculous for that purpose, I just implemented a table with draggable columns, but I had some issues with AJAX updates on IE: after first page reload draggables stoped to work because dropables had to be removed/recreated.

RE: drag and drop

2009-03-19 Thread Stefan Lindner
It is still there. I had massive problems with updating dropable items in a table with ajax. -Ursprüngliche Nachricht- Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Gesendet: Donnerstag, 19. März 2009 21:31 An: users@wicket.apache.org Betreff: Re: drag and drop I would use