Re: Drag/drop multiple items

2017-01-19 Thread Maxim Solodovnik
Actually this is good question :) - selected items are being stored on server somehow I missed the fact I can do all processing on server Thanks a lot for the pointer! On Thu, Jan 19, 2017 at 6:10 PM, Sebastien wrote: > Hi Maxim, > > Depending of your selection logic, you

Re: Drag/drop multiple items

2017-01-19 Thread Sebastien
Hi Maxim, Depending of your selection logic, you have 2 ways: - a behavior based solution - a component based solution If you can have a wicket component holding the selection (trough its model) then opt for a component based solution. The component will be passed to #onDrop so its easy to

Re: Drag/drop multiple items

2017-01-19 Thread Maxim Solodovnik
Thanks for links Sebastien Unfortunately I need custom selection logic Ill try to check internals of your examples to achieve same results :) WBR, Maxim (from mobile, sorry for the typos) On Jan 19, 2017 16:52, "Sebastien" wrote: > Hi Maxim, > > The recommended way to

Re: Drag/drop multiple items

2017-01-19 Thread Sebastien
Hi Maxim, The recommended way to dnd multiple items is to use: selectable + draggable + droppable You have 2 examples here: http://www.7thweb.net/wicket-jquery-ui/selectable/DraggableSelectablePage http://www.7thweb.net/wicket-jquery-ui/selectable/TableDraggableSelectablePage Hope this helps :)

Re: Drag/drop multiple items

2017-01-18 Thread Maxim Solodovnik
To be fair I'm not sure :( This magic is hidden inside DroppableBehavior code :( And I'm afraid my "drop" handler might be overridden inside DroppableBehavior.onConfigure Hopefully Sebastien can help here :) On Thu, Jan 19, 2017 at 1:48 PM, Martin Makundi < martin.maku...@koodaripalvelut.com>

Re: Drag/drop multiple items

2017-01-18 Thread Martin Makundi
Can you group them in javascript and detect group in wicket side, for example as list of ids? 2017-01-19 8:29 GMT+02:00 Maxim Solodovnik : > Hello Sebastien, > > I'm trying to implement subj. > JS example I'm using as POC is here [1] > Everything works, except for one

Drag/drop multiple items

2017-01-18 Thread Maxim Solodovnik
Hello Sebastien, I'm trying to implement subj. JS example I'm using as POC is here [1] Everything works, except for one thing: no matter how many objects I'm dropping I only have 1 onDrop() event inside wicket can you help me to fix/workaround this? Thanks in advance! [1]

Re: Drag & Drop in Kendo UI treeview

2016-11-23 Thread Sebastien
https://github.com/sebfz1/wicket-jquery-ui/issues/253

Re: Drag & Drop in Kendo UI treeview

2016-11-23 Thread Sebastien
how this works? > > > Regards, > Manfred > > > -- > View this message in context: http://apache-wicket.1842946. > n4.nabble.com/Drag-Drop-in-Kendo-UI-treeview-tp4676272.html > Sent from the Users forum mailing list archive at Nabble.com. > > -

Drag & Drop in Kendo UI treeview

2016-11-23 Thread Manfred Bergmann
is message in context: http://apache-wicket.1842946.n4.nabble.com/Drag-Drop-in-Kendo-UI-treeview-tp4676272.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.

Re: SwingTree to WicketTree + Drag Drop + Different Objects

2012-05-10 Thread ttboy_01
class Y { private String foo; } Erik -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/SwingTree-to-WicketTree-Drag-Drop-Different-Objects-tp4620927p4622725.html Sent from the Users forum mailing list archive at Nabble.com

Re: SwingTree to WicketTree + Drag Drop + Different Objects

2012-05-10 Thread Sven Meier
in context: http://apache-wicket.1842946.n4.nabble.com/SwingTree-to-WicketTree-Drag-Drop-Different-Objects-tp4620927p4622725.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

SwingTree to WicketTree + Drag Drop + Different Objects

2012-05-09 Thread ttboy_01
.n4.nabble.com/SwingTree-to-WicketTree-Drag-Drop-Different-Objects-tp4620927.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands

Re: SwingTree to WicketTree + Drag Drop + Different Objects

2012-05-09 Thread Sven Meier
this message in context: http://apache-wicket.1842946.n4.nabble.com/SwingTree-to-WicketTree-Drag-Drop-Different-Objects-tp4620927.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

RE: JWicket drag/drop handle

2011-02-01 Thread Stefan Lindner
: flavius [mailto:flav...@silverlion.com] Gesendet: Dienstag, 1. Februar 2011 05:17 An: users@wicket.apache.org Betreff: JWicket drag/drop handle I'm trying to create a widget/gadget (similar to google's home page or yahoo). I've got it largely figured out except for one thing. I'm trying

RE: JWicket drag/drop handle

2011-02-01 Thread flavius
This did the trick. setRawOptions is exactly what I needed. Thanks Stefan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/JWicket-drag-drop-handle-tp3250469p3253344.html Sent from the Users forum mailing list archive at Nabble.com

JWicket drag/drop handle

2011-01-31 Thread flavius
://apache-wicket.1842946.n4.nabble.com/JWicket-drag-drop-handle-tp3250469p3250469.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e

Re: Drag Drop

2009-07-11 Thread Joshua Lim
Hi Pierre, I think I need to explain a little the state of Yui Integration with wicket. If you're using the sortable package, with it's Droppable and SortableList. Then don't use the YuiDDTarget. If you want to use YuiDDTarget, then work with the YuiDDList / YuiDDListView / YuiDDListViewPanel.

Drag Drop

2009-06-22 Thread Pierre Goupil
Hello, I'm currently playing with AJAX in Wicket using WicketStuff YUI integration. Is there any way to refuse a drop ? There's a behavior called Droppable which includes an accept() method but I can't figure out how to add it to my component tree / call it. Here's a working code snippet :

WicketJQuery: Drag drop behavior lost for components of AJAX updated panels

2009-06-18 Thread Stefan Jozsa
Doing: public MyPage() { ... add(new MyPanel(panelId)); ... } dragging elements (having DraggableBehavior) of 'MyPanel' works. However doing: ... @Override public void onClick(AjaxRequestTarget target) { Panel panel = new MyPanel(panelId);

Re: WicketJQuery: Drag drop behavior lost for components of AJAX updated panels

2009-06-18 Thread Wojciech Żaboklicki
I think it's the simmilar situation like here http://www.nabble.com/DOJO-Menu-Items-and-AJAX-Target-Components-td24020833.html I posted here few days ago about dojo-menus, but I couldn't solve it. There is a problem attaching js behavior on ajax rerendered components. Is there anybody here who

Re: WicketJQuery: Drag drop behavior lost for components of AJAX updated panels

2009-06-18 Thread Stefan Jozsa
element. Any help is welcommed, Stefan --- On Thu, 6/18/09, Stefan Jozsa stefan_...@yahoo.com wrote: From: Stefan Jozsa stefan_...@yahoo.com Subject: WicketJQuery: Drag drop behavior lost for components of AJAX updated panels To: users@wicket.apache.org Date: Thursday, June 18, 2009, 1:44

RE: WicketJQuery: Drag drop behavior lost for components of AJAX updated panels

2009-06-18 Thread Stefan Lindner
[mailto:stefan_...@yahoo.com] Gesendet: Donnerstag, 18. Juni 2009 13:24 An: users@wicket.apache.org Betreff: Re: WicketJQuery: Drag drop behavior lost for components of AJAX updated panels Found that when panel is constructed like: public MyPage() { ... add(new MyPanel(panelId

RE: WicketJQuery: Drag drop behavior lost for components of AJAX updated panels

2009-06-18 Thread Stefan Jozsa
Subject: RE: WicketJQuery: Drag drop behavior lost for components of AJAX updated panels To: users@wicket.apache.org Date: Thursday, June 18, 2009, 3:30 PM I can't see a solution for what you are doing.     ...     @Override     public void onClick(AjaxRequestTarget target) {         Panel

RE: WicketJQuery: Drag drop behavior lost for components of AJAX updated panels

2009-06-18 Thread Stefan Lindner
); // Dragging stops working } }); } } Right? -Ursprüngliche Nachricht- Von: Stefan Jozsa [mailto:stefan_...@yahoo.com] Gesendet: Donnerstag, 18. Juni 2009 16:28 An: users@wicket.apache.org Betreff: RE: WicketJQuery: Drag drop behavior lost for components of AJAX

RE: WicketJQuery: Drag drop behavior lost for components of AJAX updated panels

2009-06-18 Thread Stefan Jozsa
...@visionet.de wrote: From: Stefan Lindner lind...@visionet.de Subject: RE: WicketJQuery: Drag drop behavior lost for components of AJAX updated panels To: users@wicket.apache.org Date: Thursday, June 18, 2009, 5:39 PM Do I understand you right, you have something like     Class MyPanel

RE: WicketJQuery: Drag drop behavior lost for components of AJAX updated panels

2009-06-18 Thread Stefan Lindner
@wicket.apache.org Betreff: RE: WicketJQuery: Drag drop behavior lost for components of AJAX updated panels Yes, that is, you right ! Having: Panel myPanel = new MyPanel(panelId); depending how is rendered by 1. addOrReplace(myPanel) in a page constructor or by 2. target.addComponent(myPanel) in an event

Re: modalWindow disable drag drop?

2008-07-15 Thread Beyonder Unknown
: modalWindow disable drag drop? you could make it less obvious using styling... Beyonder Unknown wrote: Hi Users, Is there a way to make the modalWindow unmovable? (disable the drag and drop?). Thanks, Allan -- The only constant in life is change

Re: modalWindow disable drag drop?

2008-07-15 Thread Nino Saturnino Martinez Vazquez Wael
that as of 1.3.4 version, i guess huh? -- The only constant in life is change. - Original Message From: Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Monday, July 14, 2008 6:24:53 AM Subject: Re: modalWindow disable drag drop? you could make

Re: modalWindow disable drag drop?

2008-07-14 Thread Nino Saturnino Martinez Vazquez Wael
you could make it less obvious using styling... Beyonder Unknown wrote: Hi Users, Is there a way to make the modalWindow unmovable? (disable the drag and drop?). Thanks, Allan -- The only constant in life is change.

Re: modalWindow disable drag drop

2008-07-13 Thread Maurice Marrink
Not at the moment AFAIK. You could file an RFE. Maurice On Sat, Jul 12, 2008 at 9:38 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi Users, Is there a way to make the modalWindow unmovable? (disable the drag and drop?). Thanks, Allan -- The only constant in life is change.

modalWindow disable drag drop?

2008-07-12 Thread Beyonder Unknown
Hi Users, Is there a way to make the modalWindow unmovable? (disable the drag and drop?). Thanks, Allan -- The only constant in life is change. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,