Hi,
I am running SmartGWT Pro 3.0, patch from march 19th, in hosted mode on IE9.
I am trying to declare a custom resultsetclass for a dmi datasource.
I have tried setting the property directly in the datasource tag:
<DataSource ID="someDS" serverType="generic" dataSourceVersion="1" beanClassName="com.edb.MyDto" resultSetClass="com.edb.MyRS">
and as a separate tag
<ResultSetClass>com.edb.MyRS</ResultSetClass>
After DataSource.get("someDS"), the getResultSetClass() displays the correct string.
However, during the first fetch, the following warning is issued from the datasource:
XRP1:WARN:DataSource:someDS:getResultSet(): Unrecognized 'resultSetClass' property:null, returning a standard isc.ResultSet.
I have also debugged in JavaScript and verified that the resultSetClass property is indeed null.
Is there anything I am missing? Does the ResultSetClass need to be visible also on the server side?
Any help appreciated.
Regards Hans Petter Simonsen,
Evry, Norway
I am running SmartGWT Pro 3.0, patch from march 19th, in hosted mode on IE9.
I am trying to declare a custom resultsetclass for a dmi datasource.
I have tried setting the property directly in the datasource tag:
<DataSource ID="someDS" serverType="generic" dataSourceVersion="1" beanClassName="com.edb.MyDto" resultSetClass="com.edb.MyRS">
and as a separate tag
<ResultSetClass>com.edb.MyRS</ResultSetClass>
After DataSource.get("someDS"), the getResultSetClass() displays the correct string.
However, during the first fetch, the following warning is issued from the datasource:
XRP1:WARN:DataSource:someDS:getResultSet(): Unrecognized 'resultSetClass' property:null, returning a standard isc.ResultSet.
I have also debugged in JavaScript and verified that the resultSetClass property is indeed null.
Is there anything I am missing? Does the ResultSetClass need to be visible also on the server side?
Any help appreciated.
Regards Hans Petter Simonsen,
Evry, Norway
Comment