Opening xml based reports generated with Runtime engine 2.1.2 in web servlet of version 2.2. m6 [message #239187] |
Tue, 22 May 2007 06:23  |
Eclipse User |
|
|
|
Originally posted by: Arthur1968.gmail.com
When I open an xml based report generated with Runtime engine 2.1.2 in the
web servlet of version 2.2. m6 it cannot render the output.
I get this error:
org.eclipse.birt.data.engine.core.DataException: Column binding "field100"
has referred to a data set column "field100" which is not exist.
The report renders fine in the 2.1 servlet.
I create the dataset with:
DataSetHandle datasetHandle = null;
datasetHandle = mElementFactory.newOdaDataSet( "DataSet",
"org.eclipse.birt.report.data.oda.xml.dataSet" );
datasetHandle.setDataSource( "DataSource" );
mReportDesignHandle.getDataSets( ).add( datasetHandle );
return datasetHandle;
and the datasource with:
mDataSourceHandle = mElementFactory.newOdaDataSource("DataSource",
"org.eclipse.birt.report.data.oda.xml");
mDataSourceHandle.setProperty("FILELIST", sDataSource);
mReportDesignHandle.getDataSources( ).add( mDataSourceHandle );
Any hints or people with the same issue?
Thanks in advance
Ron
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07556 seconds