Re: wicket-dnd strange situation
That's still on my TODO list. Sven On 09/19/2012 12:56 PM, Marieke Vandamme wrote: Dear Sven, Is wicket-dnd already changed for wicket 6 ? I can't find the sources for this.. Thanks! Kind Regards, Marieke Vandamme -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4652141.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-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: wicket-dnd strange situation
Dear Sven, Is wicket-dnd already changed for wicket 6 ? I can't find the sources for this.. Thanks! Kind Regards, Marieke Vandamme -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4652141.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-mail: users-h...@wicket.apache.org
RE: wicket-dnd strange situation
Hi Hielke First, I want to say thanks for wiquery. I integrated wiquery in a big project with success and we are happy with them. I know that the 2 code snippets do exactly the same. The first uses the wicket mechanism and the second uses the jquery mechanism. I read at http://code.google.com/p/wicket-dnd/issues/detail?id=13#c1 that "WiQueryCoreInitializer(hooked up via WiQueryInitializer) installs its custom WiQueryDecoratingHeaderResponse" and I suppose that WiQueryDecoratingHeaderResponse translate the first code snippet in the second. In my case the problem is "$" jquery variable instead "$.noConflict()" (we need to use another JavaScript library - prototype from wicekt-dnd - alongside jQuery). Probably a jquery layer in the wicket core will help more the wicket developers that consume jquery (core, ui) and the projects that integrate wicket with jquery. In this layer I see a standard mode to add jquery.js, some behaviors that add jquery core functions in wicket and also different kinds of helpers (options) for function parameters (boolean, string, ) Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4651220.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-mail: users-h...@wicket.apache.org
RE: wicket-dnd strange situation
Hi Decebal, Sorry for the late response but I was on holiday. The 2 code snippets below do exactly the same. They look different but they both perform "new wicketdnd.DropTarget(...)" when the dom is loaded and ready. Can you provide a better/bigger example? I checked your other posts and saw a link to a bug report. In this you say you use WiQuery for the modalwindows but WiQuery has no support for them as Wicket already provides this. Regards, Hielke -Original Message- From: Decebal Suiu [mailto:decebal.s...@asf.ro] Sent: donderdag 2 augustus 2012 12:18 To: users@wicket.apache.org Subject: Re: wicket-dnd strange situation Another technical question is who (I suppose wiquery) and why change Wicket.Event.add(window, "domready", function(event) { new wicketdnd.DropTarget(...) }); in $(document).ready(function(event){new wicketdnd.DropTarget(...)}); Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650951.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-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: wicket-dnd strange situation
Another technical question is who (I suppose wiquery) and why change Wicket.Event.add(window, "domready", function(event) { new wicketdnd.DropTarget(...) }); in $(document).ready(function(event){new wicketdnd.DropTarget(...)}); Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650951.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-mail: users-h...@wicket.apache.org
Re: wicket-dnd strange situation
Hi Julien Thanks for the fast response. Sven says that for wicket 6, wicket-dnd will be port to jquery but now I see that I have only one option: to give up one library (wiquery or wicket-dnd). Both libraries are very good and I want to keep both. Is it a chance to activate jquery no conflict mode in wiquery? Other advice is welcome. Thanks Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650950.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-mail: users-h...@wicket.apache.org
Re: wicket-dnd strange situation
hi Prototype uses $ like jQuery. That can create conflict (your error message indicates that the jquery method "ready" is not available. probably vecause Prototype was loaded after jquery and so override $.). jquery offers a noconflict mode, but I don't remember if we have integrate it to wiquery (like an option). in all cases it is not a good idea to mix many javascript core apis. so use jquery only or prototype, but not the twice in the same time. regards julien roche Le 2 août 2012 09:46, "Decebal Suiu" a écrit : > Nice. I see a beautiful future :) wicket-dnd integrated with wicket tree > and > of course wicket-dnd part of wicket core. > Now, I'm waiting a clarification from a member of wiquery. > > Thanks again, > Decebal > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650947.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-mail: users-h...@wicket.apache.org > >
Re: wicket-dnd strange situation
Nice. I see a beautiful future :) wicket-dnd integrated with wicket tree and of course wicket-dnd part of wicket core. Now, I'm waiting a clarification from a member of wiquery. Thanks again, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650947.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-mail: users-h...@wicket.apache.org
Re: wicket-dnd strange situation
For Wicket 6 I'll port wicket-dnd to jquery. Sven Decebal Suiu schrieb: >Hello Sven > >First, I want to say thanks for your contribution to wicket (for wicket-tree >and wicket-dnd in special). > >Yes, I use wiquery :) I read >http://code.google.com/p/wicket-dnd/issues/detail?id=13&can=1. >Is there anyone from wiquery that can explains us why wiquery doesn't works >with wicket-dnd? > >And a question from Sven: it is possible to use jquery instead prototype to >implement wicket-dnd (I think that jquery is "embedded" in wicket core from >version 6)? > >Thanks, >Decebal > > > > >-- >View this message in context: >http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650945.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-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: wicket-dnd strange situation
Hello Sven First, I want to say thanks for your contribution to wicket (for wicket-tree and wicket-dnd in special). Yes, I use wiquery :) I read http://code.google.com/p/wicket-dnd/issues/detail?id=13&can=1. Is there anyone from wiquery that can explains us why wiquery doesn't works with wicket-dnd? And a question from Sven: it is possible to use jquery instead prototype to implement wicket-dnd (I think that jquery is "embedded" in wicket core from version 6)? Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650945.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-mail: users-h...@wicket.apache.org
Re: wicket-dnd strange situation
Are you using wiquery? I remember an incompatibility between prototype and jquery in that case. Sven On 08/01/2012 03:58 PM, Decebal Suiu wrote: Wicket.Event.add(window, "domready", function(event) { new wicketdnd.DropTarget(...) }); // works $(document).ready(function(event){new wicketdnd.DropTarget(...)}); // error (probably jquery not found or a conflict between jquery and prototype) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650920.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-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: wicket-dnd strange situation
Wicket.Event.add(window, "domready", function(event) { new wicketdnd.DropTarget(...) }); // works $(document).ready(function(event){new wicketdnd.DropTarget(...)}); // error (probably jquery not found or a conflict between jquery and prototype) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650920.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-mail: users-h...@wicket.apache.org