-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
What steps will reproduce the problem?
1. Put the advanced table in TabPanel
Potential Suggestion:
AdvancedTable.java
int newHeight = originalHeight - NAVIGATION_PANEL_HEIGHT;
when it's negative number, the exception will happen, should add "if" here.
What is the expected output? What do you see instead?
Table can't displayed, there are some exceptions.
[ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: JavaScript Error
exception: Invalid Parameters
at com.google.gwt.dev.shell.ModuleSpace.invokeNative
(ModuleSpace.java:481)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid
(ModuleSpace.java:270)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid
(JavaScriptHost.java:137)
at com.google.gwt.user.client.impl.DOMImpl.setStyleAttribute
(DOMImpl.java:395)
at com.google.gwt.user.client.DOM.setStyleAttribute(DOM.java:1123)
at com.google.gwt.user.client.ui.UIObject.setHeight
(UIObject.java:435)
at example.client.AdvancedTable.fixGridSize(AdvancedTable.java:797)
at example.client.AdvancedTable.redrawRows(AdvancedTable.java:575)
at example.client.AdvancedTable.access$11(AdvancedTable.java:534)
at example.client.AdvancedTable$11.onSuccess
(AdvancedTable.java:504)
What version of the product are you using? On what operating system?
Latest one, and Windows XP, IE system
Please provide any additional information below.
Original issue reported on code.google.com by lishaoc...@gmail.com on 18 Dec 2007 at 8:50