I just update to the latest smartGWT3.0p today. I am try to create a simple grid for a new project.
[CODE]
<DataSource ID="invoiceDS" serverType="sql"
tableName="sap_invoice" qualifyColumnNames="false">
<fields>
<field name="ID" type="sequence" primaryKey="true" hidden="true" />
<field name="INVOICE_NBR" type="text" title="Invoice Number"/>
<field name="CURRENCY" type="text" title="Currency"/>
</fields>
<schema>ESD</schema>
</DataSource>
-----------------
DataSource ds = new DataSource("invoiceDS");
mainGrid = new ListGrid();
mainGrid.setDataSource(ds);
mainGrid.setAutoFetchData(true);
ListGridField invoiceField = new ListGridField("INVOICE_NBR",
"Invoice Number");
ListGridField currencyField = new ListGridField("CURRENCY",
"Currency");
mainGrid.setFields(invoiceField,currencyField );
[CODE]
I am getting this error?
[ERROR]
10:54:25.339 [ERROR] [invoice] 10:54:25.338:XRP1:WARN:RPCManager:Server returned TRANSPORT_ERROR with no error message performing operation 'isc_DataSource_0_fetch'., response: {operationId: "isc_DataSource_0_fetch",
clientContext: Obj,
context: Obj,
transactionNum: 0,
httpResponseCode: 404,
httpResponseText: "<html>\n<head>\n<meta http-equiv="Content-..."[1395],
xmlHttpRequest: Obj,
transport: "xmlHttpRequest",
status: -90,
clientOnly: undef,
httpHeaders: Obj,
isStructured: true,
callbackArgs: null,
results: Obj,
data: null,
response: Obj,
startRow: 0,
endRow: 0,
totalRows: 0}
com.smartgwt.client.core.JsObject$SGWT_WARN: 10:54:25.338:XRP1:WARN:RPCManager:Server returned TRANSPORT_ERROR with no error message performing operation 'isc_DataSource_0_fetch'., response: {operationId: "isc_DataSource_0_fetch",
clientContext: Obj,
context: Obj,
transactionNum: 0,
httpResponseCode: 404,
httpResponseText: "<html>\n<head>\n<meta http-equiv="Content-..."[1395],
xmlHttpRequest: Obj,
transport: "xmlHttpRequest",
status: -90,
clientOnly: undef,
httpHeaders: Obj,
isStructured: true,
callbackArgs: null,
results: Obj,
data: null,
response: Obj,
startRow: 0,
endRow: 0,
totalRows: 0}
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:662)
[ERROR]
Nothing is special about the data. Do you see what the issue may be?
Thanks,
[CODE]
<DataSource ID="invoiceDS" serverType="sql"
tableName="sap_invoice" qualifyColumnNames="false">
<fields>
<field name="ID" type="sequence" primaryKey="true" hidden="true" />
<field name="INVOICE_NBR" type="text" title="Invoice Number"/>
<field name="CURRENCY" type="text" title="Currency"/>
</fields>
<schema>ESD</schema>
</DataSource>
-----------------
DataSource ds = new DataSource("invoiceDS");
mainGrid = new ListGrid();
mainGrid.setDataSource(ds);
mainGrid.setAutoFetchData(true);
ListGridField invoiceField = new ListGridField("INVOICE_NBR",
"Invoice Number");
ListGridField currencyField = new ListGridField("CURRENCY",
"Currency");
mainGrid.setFields(invoiceField,currencyField );
[CODE]
I am getting this error?
[ERROR]
10:54:25.339 [ERROR] [invoice] 10:54:25.338:XRP1:WARN:RPCManager:Server returned TRANSPORT_ERROR with no error message performing operation 'isc_DataSource_0_fetch'., response: {operationId: "isc_DataSource_0_fetch",
clientContext: Obj,
context: Obj,
transactionNum: 0,
httpResponseCode: 404,
httpResponseText: "<html>\n<head>\n<meta http-equiv="Content-..."[1395],
xmlHttpRequest: Obj,
transport: "xmlHttpRequest",
status: -90,
clientOnly: undef,
httpHeaders: Obj,
isStructured: true,
callbackArgs: null,
results: Obj,
data: null,
response: Obj,
startRow: 0,
endRow: 0,
totalRows: 0}
com.smartgwt.client.core.JsObject$SGWT_WARN: 10:54:25.338:XRP1:WARN:RPCManager:Server returned TRANSPORT_ERROR with no error message performing operation 'isc_DataSource_0_fetch'., response: {operationId: "isc_DataSource_0_fetch",
clientContext: Obj,
context: Obj,
transactionNum: 0,
httpResponseCode: 404,
httpResponseText: "<html>\n<head>\n<meta http-equiv="Content-..."[1395],
xmlHttpRequest: Obj,
transport: "xmlHttpRequest",
status: -90,
clientOnly: undef,
httpHeaders: Obj,
isStructured: true,
callbackArgs: null,
results: Obj,
data: null,
response: Obj,
startRow: 0,
endRow: 0,
totalRows: 0}
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:662)
[ERROR]
Nothing is special about the data. Do you see what the issue may be?
Thanks,
Comment