开发者

GWT javascript error in IE8 [closed]

开发者 https://www.devze.com 2023-01-09 19:41 出处:网络
开发者_运维百科 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not g
开发者_运维百科 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 10 years ago.

Using a couple of GWT controls in a very simple way ... however it isn't working properly in IE and I notice that there is a JavaScript error on the page.

The GWT setup is a simple TabLayoutPanel taken directly from the example at its documentation page: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/index.html?com/google/gwt/user/client/ui/RootLayoutPanel.html

The problem is only the first tab's content area is sized properly, the other tabs receive only a 32x32 square of content area ...

When the GWT page loads this JavaScript error is immediately shown in IE: '$doc.getElementById(...)' is null or not an object.

This is occurring in one of the generated .cache.html files that GWT produces.

Resizing the window seems to cause the tab content area to be updated correctly ... but the JavaScript error remains. :(

0

精彩评论

暂无评论...
验证码 换一张
取 消