Yes, I was thinking about it but reading javadoc for Anchor says: "If
you want use this anchor only for changing history states, use
Hyperlink instead." I will do as you suggest, I am reading too much,
instead of writing code myself :-) Thanks. Peter

On Dec 24, 2:54 pm, Matt Moriarity <[email protected]> wrote:
> Perhaps you should be using an Anchor widget instead of a Hyperlink.
> If you still need to link in with the history mechanism, you can have
> your click handler call History.newItem
>
> On Dec 23, 9:05 am, Peter Ondruska <[email protected]> wrote:
>
>
>
> > Dear all,
>
> > In GWT 2.0 Hyperlink.addClickHandler is deprecated and I should use
> > FocusWidget.addClickHandler. However no matter how hard I try I cannot
> > get this working. Would you help me please with an example of how to
> > add ClickHander to Hyperlink in GWT 2.0.
>
> > Thank you,
>
> > Peter

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to