Yes, 4.0 has the same fixes. Can you show code that reproduces a problem in 4.0?
Announcement
Collapse
No announcement yet.
X
-
Sure! Here's the code:
Code:private void updateDateRangeLabel() { final RecordList recordList = correspondenceGrid.getRecordList(); // CorrespondenceCanvas.java:363 ... }
Code:11:25:40.250 [ERROR] [bizportal] 11:25:40.248:TMR9:WARN:Log:Specified ID: isc_ResultSet_1 collides with the ID for an existing SmartGWT component or object. The existing object will be destroyed and the ID bound to the new object. com.smartgwt.client.core.JsObject$SGWT_WARN: 11:25:40.248:TMR9:WARN:Log:Specified ID: isc_ResultSet_1 collides with the ID for an existing SmartGWT component or object. The existing object will be destroyed and the ID bound to the new object. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) 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.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:299) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) at com.smartgwt.client.util.SC.logWarn(SC.java) at com.smartgwt.client.util.IDManager.validateID(IDManager.java:34) at com.smartgwt.client.util.IDManager.registerID(IDManager.java:78) at com.smartgwt.client.core.BaseClass.registerID(BaseClass.java:62) at com.smartgwt.client.core.BaseClass.internalSetID(BaseClass.java:71) at com.smartgwt.client.core.BaseClass.<init>(BaseClass.java:46) at com.smartgwt.client.data.RecordList.<init>(RecordList.java:68) at com.smartgwt.client.data.ResultSet.<init>(ResultSet.java:140) at com.smartgwt.client.widgets.grid.ListGrid.getResultSet(ListGrid.java:17796) at com.smartgwt.client.widgets.grid.ListGrid.getRecordList(ListGrid.java:17804) at com.fl.bizportal.ui.gwt.client.smartgwt.CorrespondenceCanvas.updateDateRangeLabel(CorrespondenceCanvas.java:363) at com.fl.bizportal.ui.gwt.client.smartgwt.CorrespondenceCanvas.access$4(CorrespondenceCanvas.java:362) at com.fl.bizportal.ui.gwt.client.smartgwt.CorrespondenceCanvas$7.onDataArrived(CorrespondenceCanvas.java:236) at com.smartgwt.client.widgets.grid.events.DataArrivedEvent.dispatch(DataArrivedEvent.java:102) at com.smartgwt.client.widgets.grid.events.DataArrivedEvent.dispatch(DataArrivedEvent.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:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:338) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279) 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:242) at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:293) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364) at java.lang.Thread.run(Unknown Source)
Comment
-
Sure, easy enough to do. Add the following code to any ListGrid that has a datasource, such as in the GridDataBoundFilterSample class in the showcase:
Code:countryGrid.addDataArrivedHandler(new DataArrivedHandler() { @Override public void onDataArrived(DataArrivedEvent event) { countryGrid.getRecordList(); countryGrid.getRecordList(); } });
Comment
Comment