summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpshi2011-10-27 03:52:05 (EDT)
committer mwu2011-10-27 03:52:05 (EDT)
commite11237d9aced528764bb1e7230ea1706645ba5a7 (patch)
treeee2358bfccc040b545aac3f6701af1a96e2aea5f
parent070ce286347f5fa2de880036a16a9998b149b58d (diff)
downloadorg.eclipse.birt-e11237d9aced528764bb1e7230ea1706645ba5a7.zip
org.eclipse.birt-e11237d9aced528764bb1e7230ea1706645ba5a7.tar.gz
org.eclipse.birt-e11237d9aced528764bb1e7230ea1706645ba5a7.tar.bz2
fix ted 43691, use expression when set property binding
-rw-r--r--data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetMetaDataHelper.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetMetaDataHelper.java b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetMetaDataHelper.java
index 7f55677..447992c 100644
--- a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetMetaDataHelper.java
+++ b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetMetaDataHelper.java
@@ -681,8 +681,9 @@ public class DataSetMetaDataHelper
for ( int i = 0; i < pList.size( ); i++ )
{
PropertyBinding binding = (PropertyBinding) pList.get( i );
- dsHandle.setPropertyBinding( binding.getName( ),
- binding.getValue( ) );
+ dsHandle.getDataSource( )
+ .setPropertyBinding( binding.getName( ),
+ binding.getExpressionProperty( PropertyBinding.VALUE_MEMBER ) );
}
}
if ( dsHandle.getDataSource( ) != null && dataSourceMap.get( dsHandle.getDataSource( ).getName( ) ) != null )
@@ -694,7 +695,7 @@ public class DataSetMetaDataHelper
PropertyBinding binding = (PropertyBinding) pList.get( i );
dsHandle.getDataSource( )
.setPropertyBinding( binding.getName( ),
- binding.getValue( ) );
+ binding.getExpressionProperty( PropertyBinding.VALUE_MEMBER ) );
}
}
}