Re: Wicket JQuery drag and drop behaviors

2010-11-10 Thread Ernesto Reinaldo Barreiro
Armando, Yes maybe you are right... but if type wicket jquery on google on the first page I get references both jWicket and wiQuery and you can always resort to ask questions on this list;-) Ernesto On Wed, Nov 10, 2010 at 8:44 AM, armandoxxx armando@dropchop.com wrote: Just a thought

Re: Wicket JQuery drag and drop behaviors

2010-11-10 Thread armandoxxx
And I don't .. and that was my main problem :( .. but I got links now ;) I tried to find wicket jquery project on wicket stuff and no luck with that either .. so that's how it all happened :D why don't you guys that work on wicket + jquery projects get together and make one project ? That

Re: Wicket JQuery drag and drop behaviors

2010-11-09 Thread armandoxxx
Just to let everyone know, this is just a simple imeplementation, there are no events triggered on draggable and therefore no methods called, so if anyone needs it just implement it .. So all the NPE checks and that kinda stuff is still needed ! All I needed for my case was to get the dropped

Re: Wicket JQuery drag and drop behaviors

2010-11-09 Thread Martin Makundi
Can it automatically detect which draggable dropped on droppable landing spot? ** Martin 2010/11/9 armandoxxx armando@dropchop.com: Hey Just needed this so I wrote a simple implementation of Drag and Drop for JQuery javascript lib. So if anyone needs it .. be my guest to comment

Re: Wicket JQuery drag and drop behaviors

2010-11-09 Thread armandoxxx
/** * Notification method that a drop happened on this component. * @param theComponent reference to dropped component. */ protected void onDrop(final AjaxRequestTarget theTarget, final Component theComponent) { System.out.println(Dropped: +

Re: Wicket JQuery drag and drop behaviors

2010-11-09 Thread armandoxxx
Hey guys .. 10x for sharing .. Was looking for it .. but didn't find anything so I implemented it on my own;) Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-JQuery-drag-and-drop-behaviors-tp3033676p3034347.html Sent from the Users

Re: Wicket JQuery drag and drop behaviors

2010-11-09 Thread julien roche AKA indiana_jules
Hi Armandoxxx, If you want, you have too an implementation for your case with wiQuery (see: http://wiquery-examples-1-1-x.appspot.com/?wicket:bookmarkablePage=:org.odlabs.wiquery.examples.droppable.DroppablePage). But your approach is very ligthweight !! Regards Julien On Tue, Nov 9, 2010 at

Re: Wicket JQuery drag and drop behaviors

2010-11-09 Thread Ernesto Reinaldo Barreiro
Armando, Thanks for sharing. Did you know about [1] and [2]? Regards, Ernesto 1-http://code.google.com/p/wiquery/source/browse/trunk/src/main/java/org/odlabs/wiquery/ui/draggable/DraggableAjaxBehavior.java

Re: Wicket JQuery drag and drop behaviors

2010-11-09 Thread Martin Makundi
Nice. ** Martin 2010/11/9 armandoxxx armando@dropchop.com: /**         * Notification method that a drop happened on this component.         * @param theComponent  reference to dropped component.         */        protected void onDrop(final AjaxRequestTarget theTarget, final

RE: Wicket JQuery drag and drop behaviors

2010-11-09 Thread Stefan Lindner
Did you take a look at jWicket (http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jdk-1.5-parent/jwicket-parent/jwicket-ui/jwicket-ui-dragdrop)? -Ursprüngliche Nachricht- Von: armandoxxx [mailto:armando@dropchop.com] Gesendet: Dienstag, 9. November

RE: Wicket JQuery drag and drop behaviors

2010-11-09 Thread armandoxxx
Hey ... No I haven't. Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-JQuery-drag-and-drop-behaviors-tp3033676p3035602.html Sent from the Users forum mailing list archive at Nabble.com.

RE: Wicket JQuery drag and drop behaviors

2010-11-09 Thread armandoxxx
Just a thought for all you posters that provided wicket + jquery project links. These links should also be available on wicket pages .. I googled for wicket + jquery implementations before I started to implement my own tiny little DnD behaviors, but found only wicket + other JS libs pages, so