Re: Using Struts2 JQuery drag & drop

2009-11-04 Thread Ignacio de Córdoba
e >>>> >> seen >>>> >> that's no problem. The problem is that example in the showcase just >>>> shows >>>> >> a >>>> >> simple javascript subscribing to the drop action. I would need to >>>> get the &g

Re: Using Struts2 JQuery drag & drop

2009-11-03 Thread Zoran Avtarovski
Hey Ignacio, I’m not a big fan of integrated ajax functionality. While it provides a simple solution at first when you need something a little more complex or customised it starts to show it’s limitations. Rather than using the sx;div tag why not just use a plain div and then use a jQuery ajax ca

Re: Using Struts2 JQuery drag & drop

2009-11-02 Thread Ignacio de Córdoba
>> A) Get the coords inside the big div where the small image was dropped. >> B) How to set those x & y coords as a remote div action parameters. >> >> Hope this is simple to achieve. >> >> Thanks for any directions, >> Ignacio > > > --

Re: Using Struts2 JQuery drag & drop

2009-11-01 Thread Zoran Avtarovski
Hi Ignacio, It not jQuery specific but more extracting the coordinates of the event using javascript. Depending on what your doing you have six pairs to choose from: clientX,clientY layerX,layerY offsetX,offsetY pageX,pageY screenX,screenY x,y Without knowing exactly what you¹re doing, I can onl

Using Struts2 JQuery drag & drop

2009-10-31 Thread Ignacio de Córdoba
B) How to set those x & y coords as a remote div action parameters. Hope this is simple to achieve. Thanks for any directions, Ignacio -- View this message in context: http://old.nabble.com/Using-Struts2-JQuery-drag---drop-tp26147665p26147665.html Sent from the Struts - User mailing lis