Hi everyone
I am using SmartGwt 2.1 build 1116 and gwt 2.0.3
I have two related ListGrids binded with RestDataSources. When there is no data in primary table or related table I get warning:
My question is: How response should look like when there is no data (or ralated records in another table) in table
right now my server response look like this:
but this couse error mantioned above
I am using SmartGwt 2.1 build 1116 and gwt 2.0.3
I have two related ListGrids binded with RestDataSources. When there is no data in primary table or related table I get warning:
Code:
22:27:48.609 [ERROR] [strukt_springsmart2] 22:27:48.594:RDQ5:WARN:ResultSet:isc_ResultSet_1 (created by: Lista_rach):get: invalid index -1 com.smartgwt.client.core.JsObject$SGWT_WARN: 22:27:48.594:RDQ5:WARN:ResultSet:isc_ResultSet_1 (created by: Lista_rach):get: invalid index -1 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: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(Unknown Source)
right now my server response look like this:
Code:
<response> <status>0</status> <startRow>0</startRow> <endRow>0</endRow> <totalRows>0</totalRows> <data /> </response>
Comment