Monday, April 14, 2014

Re: Upload an image via Drag and drop (GWT 2.5.1)

Thank you all! 
You pointed me to the right way. With bringing all to pure gwt and calling addBitlessDomHandler, i get the events. 

Lorenzo

Am Samstag, 12. April 2014 20:24:41 UTC+2 schrieb Alain:
Why reinvent the wheel ?
This guys solved it pretty nicely 






2014-04-12 19:23 GMT+02:00 Jens <jens.ne...@gmail.com>:
I'm not sure if i understand you right. but i don't receive the event. It's clear in the sample i wrote only a message to the console, so i see if i receive the event. but the problem is: i'm not called. 

Juan is saying that you should implement all these addDrag/DropHandler methods in your DroppableImage. Currently they do nothing as they only return null. You can not expect to receive drag and drop events if all methods are not implemented.

I have no idea about SmartGWT but in pure GWT you would call addBitlessDomHandler.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment