Thursday, April 14, 2011

Aw: IE (8 & 9) reload app when internal link clicked

Change it to GWT Hyperlinks and I think it should work in IE. 
I had a similar problem using GWT Anchors, see: http://code.google.com/p/google-web-toolkit/issues/detail?id=5280 . In my case I used GWT Anchors with ClickHandlers which result in <a href="javascript:;">link</a> code and IE unloads the page for such links once you click on them. Seems like its the same with your #blah links. GWT's Hyperlink class does an event.preventDefault(); in its onBrowserEvent method by default and prevents IE from unloading the page when clicking a hyperlink.

Hope that helps.

J.

--
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