I have the following html code: <html><body><div id="first_div"><a>TEST</a></div></body></html> and GWT code: Element divElement = Document.get().getElementById("first_div"); Event.sinkEvents(divElement , Event.ONCLICK); Event.setEventListener(divElement , new EventListener() { Window.alert("I Got"); }
The problem is once I clicked "TEST", default handler in original html is not invoked, instead display "I Got". How do I fix this issue? Thanks -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.