I've downloaded the 2012-01-16 nightly power build. I am still unable to get the icons to show up on the outer listgrid. The situation is the following. I have a listgrid with expandable columns. The outer list grid never shows the icons, but the inner one does. The tables in the database have the 4 necessary columns. The ds.xml file for the outer table is:
The inner datasource is:
The only errors i get are
and
Code:
<DataSource ID="StatusDocumentDataSource" dataFormat="iscServer" serverType="sql" dataSourceVersion="1" dbName="Oracle" tableName="document"> <fields> <field name="document_name" type="text" length="50"/> <field name="document_contents_date_created" type="datetime" title="Date Created"/> <field name="document_ID" type="sequence" primaryKey="true"/> <field name="document_TYPE_NAME" type="text" length="30"> <tableName>document_TYPE</tableName> </field> <field name="document_contents" type="binary"/> </fields> <operationBindings> <OperationBinding> <operationType>fetch</operationType> <selectClause> document.document_contents_date_created, document_TYPE.document_TYPE_NAME, document.document_NAME, document.document_contents, document.document_ID </selectClause> <tableClause>document, document_TYPE </tableClause> <whereClause> document.document_TYPE_ID = document_TYPE.document_TYPE_ID AND ($defaultWhereClause) </whereClause> </OperationBinding> </operationBindings> <generatedBy>SC_SNAPSHOT-2011-09-15/PowerEdition Deployment 2011-09-15</generatedBy> </DataSource>
Code:
<DataSource ID="documentattachmentDataSource" dataFormat="iscServer" serverType="sql" dataSourceVersion="1" dbName="Oracle" tableName="document_attachment" autoDeriveSchema="false"> <fields> <field name="attachment_name" type="text" length="256" primaryKey="true"></field> <field name="document_ID" type="int" foreignKey="true" primaryKey="true"> </field> <field name="attachment_contents_date_created" type="datetime"/> <field name="attachment_contents" type="binary"/> </fields> <generatedBy>SC_SNAPSHOT-2011-09-15/PowerEdition Deployment 2011-09-15</generatedBy> </DataSource>
Code:
15:01:35.090 [ERROR] [myproject] 15:01:35.088:MUP3[E]:WARN:RecordEditor:status_document_Listgrid_filterEditor:Fields array contains an empty entry com.smartgwt.client.core.JsObject$SGWT_WARN: 15:01:35.088:MUP3[E]:WARN:RecordEditor:status_document_Listgrid_filterEditor:Fields array contains an empty entry 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:167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) at java.lang.Thread.run(Thread.java:662)
Code:
com.smartgwt.client.core.JsObject$SGWT_WARN: 15:01:44.694:MUP8:WARN:DataSource:documentattachmentDataSource:no foreign key declaration, guessing tree relationship is on field name: document_ID which occurs in both DataSources 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:167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) 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.widgets.grid.ListGrid.fetchRelatedData(ListGrid.java) at my.project.client.ui.InnerListGrid.getExpansionComponent(InnerListGrid.java:133) 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:167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) 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.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:214) at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source) 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:167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) at java.lang.Thread.run(Thread.java:662)
Comment