Hi,
I just downloaded the smartgwt 3.1d lgpl version and the smartgwt 3.0p lgpl as well, only because i was interested on this new feature: RibbonBar
testing the 3.1 version:
I created a new project and imported all the java files from another project, i included the code for a Ribbonbar and everything was good until the running time....
the error that shows at the beginning is:
com.google.gwt.core.client.JavaScriptException: (TypeError): $wnd.isc.DataSource.reregisterSgwtDS is not a function
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) 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.data.DataSource.reregisterSgwtDS(DataSource.java) at com.smartgwt.client.data.DataSource.setID(DataSource.java:2571) at com.smartgwt.client.core.BaseClass.<init>(BaseClass.java:44) at com.smartgwt.client.data.DataSource.<init>(DataSource.java:138) at com.smartgwt.client.data.XJSONDataSource.<init>(XJSONDataSource.java:134) at com.axs.sfamini.client.dataSources.LoginCrossDS.<init>(LoginCrossDS.java:23) at com.axs.sfamini.client.dataSources.LoginCrossDS.getInstance(LoginCrossDS.java:19) at com.axs.sfamini.client.SFAmini.showLoginWindow(SFAmini.java:232) at com.axs.sfamini.client.SFAmini.onModuleLoad(SFAmini.java:161) 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:193) 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)
testing the 3.0 version:
i created a new project again imported the java classes etc. the new project at least runs, i see my login window but when i click on the button 'Enter' it shows up this error:
00:00:20.157 [ERROR] 17:55:23.838:INP1:WARN:Log:TypeError: isc.Validator.getValidatorType is not a function Canvas.validateField(_1=>{Obj}, _2=>[object Array], _3=>"l", _4=>{Obj}, _5=>{Obj}) @ com.axs.sfamini.SFAmini/sc/modules/ISC_Core.js:3905 Canvas.validateFieldAndDependencies(_1=>{Obj}, _2=>[object Array], _3=>"l", _4=>{Obj}, _5=>{Obj}) @ com.axs.sfamini.SFAmini/sc/modules/ISC_Core.js:3897 FormItem.handleChange(_1=>"l", _2=>undef) @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1430 FormItem.storeValue(_1=>"l") @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1341 FormItem._updateValue("l") @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1338 FormItem.updateValue() @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1336 FormItem._handleInput() @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1592 oninput([object UIEvent]) @ SFAminiv3.html?gwt.codesvr=127.0.0.1:9997:1 unnamed() @
com.smartgwt.client.core.JsObject$SGWT_WARN: 17:55:23.838:INP1:WARN:Log:TypeError: isc.Validator.getValidatorType is not a function Canvas.validateField(_1=>{Obj}, _2=>[object Array], _3=>"l", _4=>{Obj}, _5=>{Obj}) @ com.axs.sfamini.SFAmini/sc/modules/ISC_Core.js:3905 Canvas.validateFieldAndDependencies(_1=>{Obj}, _2=>[object Array], _3=>"l", _4=>{Obj}, _5=>{Obj}) @ com.axs.sfamini.SFAmini/sc/modules/ISC_Core.js:3897 FormItem.handleChange(_1=>"l", _2=>undef) @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1430 FormItem.storeValue(_1=>"l") @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1341 FormItem._updateValue("l") @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1338 FormItem.updateValue() @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1336 FormItem._handleInput() @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1592 oninput([object UIEvent]) @ SFAminiv3.html?gwt.codesvr=127.0.0.1:9997:1 unnamed() @ 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:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Thread.java:619)
and the umbrella exception after:
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): isc.Validator.getValidatorType is not a function at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) 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.form.DynamicForm.saveData(DynamicForm.java) at com.axs.sfamini.client.SFAmini$3.onClick(SFAmini.java:253) at com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:97) at com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:1) at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1) at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40) at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193) at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88) at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127) at com.smartgwt.client.widgets.BaseWidget.fireEvent(BaseWidget.java:67) 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.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) 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.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213) 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.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Thread.java:619)
i was modestly using gwt 2.3 and smartgwt 2.5 before.
please help on this
Samila
I just downloaded the smartgwt 3.1d lgpl version and the smartgwt 3.0p lgpl as well, only because i was interested on this new feature: RibbonBar
testing the 3.1 version:
I created a new project and imported all the java files from another project, i included the code for a Ribbonbar and everything was good until the running time....
the error that shows at the beginning is:
com.google.gwt.core.client.JavaScriptException: (TypeError): $wnd.isc.DataSource.reregisterSgwtDS is not a function
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) 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.data.DataSource.reregisterSgwtDS(DataSource.java) at com.smartgwt.client.data.DataSource.setID(DataSource.java:2571) at com.smartgwt.client.core.BaseClass.<init>(BaseClass.java:44) at com.smartgwt.client.data.DataSource.<init>(DataSource.java:138) at com.smartgwt.client.data.XJSONDataSource.<init>(XJSONDataSource.java:134) at com.axs.sfamini.client.dataSources.LoginCrossDS.<init>(LoginCrossDS.java:23) at com.axs.sfamini.client.dataSources.LoginCrossDS.getInstance(LoginCrossDS.java:19) at com.axs.sfamini.client.SFAmini.showLoginWindow(SFAmini.java:232) at com.axs.sfamini.client.SFAmini.onModuleLoad(SFAmini.java:161) 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:193) 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)
testing the 3.0 version:
i created a new project again imported the java classes etc. the new project at least runs, i see my login window but when i click on the button 'Enter' it shows up this error:
00:00:20.157 [ERROR] 17:55:23.838:INP1:WARN:Log:TypeError: isc.Validator.getValidatorType is not a function Canvas.validateField(_1=>{Obj}, _2=>[object Array], _3=>"l", _4=>{Obj}, _5=>{Obj}) @ com.axs.sfamini.SFAmini/sc/modules/ISC_Core.js:3905 Canvas.validateFieldAndDependencies(_1=>{Obj}, _2=>[object Array], _3=>"l", _4=>{Obj}, _5=>{Obj}) @ com.axs.sfamini.SFAmini/sc/modules/ISC_Core.js:3897 FormItem.handleChange(_1=>"l", _2=>undef) @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1430 FormItem.storeValue(_1=>"l") @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1341 FormItem._updateValue("l") @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1338 FormItem.updateValue() @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1336 FormItem._handleInput() @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1592 oninput([object UIEvent]) @ SFAminiv3.html?gwt.codesvr=127.0.0.1:9997:1 unnamed() @
com.smartgwt.client.core.JsObject$SGWT_WARN: 17:55:23.838:INP1:WARN:Log:TypeError: isc.Validator.getValidatorType is not a function Canvas.validateField(_1=>{Obj}, _2=>[object Array], _3=>"l", _4=>{Obj}, _5=>{Obj}) @ com.axs.sfamini.SFAmini/sc/modules/ISC_Core.js:3905 Canvas.validateFieldAndDependencies(_1=>{Obj}, _2=>[object Array], _3=>"l", _4=>{Obj}, _5=>{Obj}) @ com.axs.sfamini.SFAmini/sc/modules/ISC_Core.js:3897 FormItem.handleChange(_1=>"l", _2=>undef) @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1430 FormItem.storeValue(_1=>"l") @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1341 FormItem._updateValue("l") @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1338 FormItem.updateValue() @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1336 FormItem._handleInput() @ com.axs.sfamini.SFAmini/sc/modules/ISC_Forms.js:1592 oninput([object UIEvent]) @ SFAminiv3.html?gwt.codesvr=127.0.0.1:9997:1 unnamed() @ 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:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Thread.java:619)
and the umbrella exception after:
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): isc.Validator.getValidatorType is not a function at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) 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.form.DynamicForm.saveData(DynamicForm.java) at com.axs.sfamini.client.SFAmini$3.onClick(SFAmini.java:253) at com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:97) at com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:1) at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1) at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40) at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193) at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88) at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127) at com.smartgwt.client.widgets.BaseWidget.fireEvent(BaseWidget.java:67) 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.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) 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.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213) 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.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Thread.java:619)
i was modestly using gwt 2.3 and smartgwt 2.5 before.
please help on this
Samila
Comment