On 8 Jan 2010, at 16:22, Thomas Broyer wrote:

Use Hyperlink or InlineHyperlink widgets for "internal
navigation" (unless you also want ClickHandlers, in which case Anchor
is fine, calling History.newItem() in a ClickHandler, but do not
forget to ClickEvent#preventDefault() // this is more or less what
Hyperlink/InlineHyperlink widgets do).

Using Anchors caused onWindowClosing() to be called in IE7/8 so I could not use them. Using Button has solved this so far although I have a lot of default CSS to override. I just tested with Hyperlink as you suggested and this also works fine. Perhaps the difference is that it uses "#" as the href rather than "javascript:;" so IE recognises this as an internal link.
-- 
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.


Reply via email to