As the javadoc for Hyperlink.addClickHandler() says, you should use an Anchor instead of Hyperlink if you want to add a handler. Hyperlinks are intended as history event inducing widgets only.
Paul Cristian Nicanor Babula wrote: > Hi everyone. > > Why Hyperlink.addClickHandler() is deprecated? > I can't see a reason. How am I supposed to handle the onClick event of > a Hyperlink? > > Thanks, > Cristian. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.