Just add the following meta tag to the html file.
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7;"/>
Announcement
Collapse
No announcement yet.
X
-
the problem is from brower version, once I upgrade the IE brower from 7 to 8, the problem disappears.
I will follow your direction, to post all info in next question.
Thanks for your times.
Marry Christmas
Jason
Leave a comment:
-
Please post a minimal standalone testcase, not fragments of code that you think might be relevant. Also always post the version of Smart GWT you're using, and the browser information. All this was clearly mentioned at the time you create a new post. Please follow those guidelines so that we don't have to repeat this over and over. If you fail to do so, you will not get a timely response.Last edited by smartgwt.dev; 20 Dec 2010, 11:39.
Leave a comment:
-
an exception of Object required with VLayout.draw();
I definite a VLayout, however, it does not work properly.
00:00:10.500 [ERROR] 14:03:44.344:WARN:Log:Error: 'Object required' in http://127.0.0.1:8888/rcas.html?gwt.codesvr=127.0.0.1:9997 at line 1735 [c]Element.getOffsetLeft(_1=>[DIVElement]{ID:isc_U}) [c]Element.$yw(_1=>"left", _2=>[DIVElement]{ID:isc_U}, _3=>[HTMLElement]{nodeName:HTML}, _4=>false) [c]Element.$s4(_1=>[DIVElement]{ID:isc_U}, _2=>[HTMLElement]{nodeName:HTML}, _3=>false) Canvas.$s4(_1=>undef) Canvas.getPageLeft() ** recursed on Canvas.getPageLeft
com.smartgwt.client.core.JsObject$SGWT_WARN: 14:03:44.344:WARN:Log:Error:
'Object required'
in http://127.0.0.1:8888/rcas.html?gwt.codesvr=127.0.0.1:9997
at line 1735
[c]Element.getOffsetLeft(_1=>[DIVElement]{ID:isc_U})
[c]Element.$yw(_1=>"left", _2=>[DIVElement]{ID:isc_U}, _3=>[HTMLElement]{nodeName:HTML}, _4=>false)
[c]Element.$s4(_1=>[DIVElement]{ID:isc_U}, _2=>[HTMLElement]{nodeName:HTML}, _3=>false)
Canvas.$s4(_1=>undef)
Canvas.getPageLeft()
** recursed on Canvas.getPageLeft
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:552) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) at com.smartgwt.client.widgets.BaseWidget.draw(BaseWidget.java) at com.rbcdexia.rc.reporting.search1.client.rcas.onModuleLoad(rcas.java:962) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:397) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:183) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) at java.lang.Thread.run(Thread.java:619)
the source codes
VLayout accountLayout = new VLayout(15);
accountLayout.setWidth(900);
accountLayout.setAutoHeight();
final ListGrid countryGrid = new ListGrid();
ToolStrip countryGridToolStrip = new ToolStrip();
countryGridToolStrip.setStyleName("tscol");
countryGridToolStrip.setSize("985px", "22px");
countryGridToolStrip.setWidth100();
....
accountLayout.draw();
the line of 962 is accountLayout.draw().
Any help?
Thanks
JasonTags: None
Leave a comment: