fredsa / gwt-dnd

Library providing easy to use mouse or touch based drag-and-drop capabilities to GWT
42 stars 41 forks source link

VetoDragException with server side validation #173

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Does the issue occur in "quirks mode", "standards mode" or both? If you
don't know, does your HTML page contains a DOCTYPE declaration?
both

What version of GWT are you using? 1.4.60? 2.0.4? Other?
2.4.0

What version of the gwt-dnd jar file or library file are you using?
3.1.2

What operating system(s) are you using? Windows? Linux? Mac?
Windows

Does the issue occur in web mode, development mode (formerly "hosted
mode"), both or don't know?
hosted mode

What browser(s) do you use? Chrome, Firefox, IE, Safari, other?
Chrome, IE

What is the browser version (if you know) from Help->About?
Chrome 29.0.1547.62 
IE 10.0.9200.16635

What steps will reproduce the problem? Please attach sample code if you
can.
1.
2.
3.

What is the expected output? What do you see instead?

Do you have a workaround?

Please provide any additional information below.

Hi,

I´m building a case like a Demo 5 from the "working example".

In my case, a need to validate the drag in a server side, if the async callback 
returns true, so I can drop the object, otherwise, a need something like a 
VetoDragException,
but I can´t do it inside a onSuccess method from async callback.

How can I do it? Any Suggestions.

Tks.
Jayme Sanches

Original issue reported on code.google.com by jaymesan...@gmail.com on 2 Sep 2013 at 10:50