The following exception occurs when I try to run the RichTextEditor sample code from the ShowCase:
It happens when the editor widget is added to the layout.
What am I missing?
I use GWT 2.2, SmartGWT 2.4, Java 1.6.0_25, NetBeans 6.9.1 on Windows 7 x64
Code:
com.google.gwt.core.client.JavaScriptException: (TypeError): $wnd.isc[scClassName] is undefined fileName: http://127.0.0.1:8888 lineNumber: 30 stack: ()@http://127.0.0.1:8888:30 ((void 0),"selectrow","http://127.0.0.1:8888/selectrow/",0)@http://127.0.0.1:8888/selectrow/hosted.html?selectrow:281 B()@http://127.0.0.1:8888/selectrow/selectrow.nocache.js:2 (-1)@http://127.0.0.1:8888/selectrow/selectrow.nocache.js:15 at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) at com.smartgwt.client.widgets.RichTextEditor.create(RichTextEditor.java) at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:356) at com.smartgwt.client.widgets.layout.Layout.addMember(Layout.java:1073) at selectrow.client.MainEntryPoint.onModuleLoad(MainEntryPoint.java:63) 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:396) 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:662)
What am I missing?
I use GWT 2.2, SmartGWT 2.4, Java 1.6.0_25, NetBeans 6.9.1 on Windows 7 x64
Comment