I've a custom widget with a onClick handler. The problem is when user double clicks on the element, a duplicate call is also triggered for the second click. Was trying to avoid it by using onDoubleClick handler, on double click the call does go into this handler but it goes only after executing onClick. So still the duplicate call is happening.
Have seen solutions of having a timer in Javascript to avoid duplicate requests on double. Is it possible to have a similar thing in GWT?
Or is there any other better way of avoiding the duplicate request on double click for elements in GWT?