Friday, January 22, 2010

Re: Curiosity about GWT 2.0 - related to ClickHandler

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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate