Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Composit in SmartGWT ?

    Hello,

    i have a class that it's extending from composit in GWT,i'am trying to migrate it to Smart,can i let it the same extend ? or extending from Canvas will do the same job ?
    in fact i already tryed it and i replaced initWidget with doInit(),and i'am having this error :

    Code:
     
    
    00:18:25,666 [ERROR] Uncaught exception escaped
    com.google.gwt.core.client.JavaScriptException: (InternalError): too much recursion  fileName: http://127.0.0.1:8888  lineNumber: 111  stack: ()@http://127.0.0.1:8888:111 ()@http://127.0.0.1:8888:111 ()@http://127.0.0.1:8888:111 ()@http://127.0.0.1:8888:111 ()@http://127.0.0.1:8888:111 ()@http://127.0.0.1:8888:111 ("initial draw")@http://127.0.0.1:8888/MySmartPerspective/sc/modules/ISC_Foundation.js:437 ()@http://127.0.0.1:8888/MySmartPerspective/sc/modules/ISC_Foundation.js:339 ()@http://127.0.0.1:8888/MySmartPerspective/sc/modules/ISC_Core.js:1837 ()@http://127.0.0.1:8888:111 ("initial draw")@http://127.0.0.1:8888/MySmartPerspective/sc/modules/ISC_Foundation.js:437 ()@http://127.0.0.1:8888/MySmartPerspective/sc/modules/ISC_Foundation.js:339 ()@http://127.0.0.1:8888/MySmartPerspective/sc/modules/ISC_Core.js:1837 ()@http://127.0.0.1:8888:111 ()@http://127.0.0.1:8888:53 @:0 ([object GWTJavaObject],4128769,[object XMLHttpRequest])@http://127.0.0.1:8888/MySmartPerspective/hosted.html?MySmartPerspective:56 ([object Event])@http://127.0.0.1:8888:28 ((function () {__gwt_makeJavaInvoke(1)(handler, 4128769, _this);}),[object XMLHttpRequest],[object Object])@http://127.0.0.1:8888:35 @:0 (null,65563,(function () {__gwt_makeJavaInvoke(1)(handler, 4128769, _this);}),[object XMLHttpRequest],[object Object])@http://127.0.0.1:8888/MySmartPerspective/hosted.html?MySmartPerspective:56 ([object Event])@http://127.0.0.1:8888:47  	at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:195) 	at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120) 	at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507) 	at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264) 	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:188) 	at sun.reflect.GeneratedMethodAccessor287.invoke(Unknown Source) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 	at java.lang.reflect.Method.invoke(Method.java:585) 	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:157) 	at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1668) 	at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401) 	at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222) 	at java.lang.Thread.run(Thread.java:595)
    thanks,

    #2
    It depends on exactly how your using the widget, what type of parent does it belong to, does it have children. Better to extends from Canvas if possible, post some more information about what exactly your doing.

    Comment

    Working...
    X