Bug 163770 [Smoke]Error in parameter dialog when preview dynamic parameter
Description: Error in parameter dialog when preview a report containing dynamic parameter. Build: 20061108 Steps to reproduce: 1. New data source and dataset 2. New a dynamic parameter based on the dataset. 3. Preview the report expected result: Correct parameter dialog. Actuaul result: See attached screen shot
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/GetParameterDefinitionTask.java
* 
	 * @param dataSetName
	 *            data set name
	 * @param labelStmt
	 *            label statement
	 * @param valueStmt
	 *            value statement
	 * @param dataType
	 *            value type
	 * @return
	 */
	private Collection createDynamicSelectionChoices( String pattern, String dataSetName,
			String labelStmt, String valueStmt, String dataType, int limit,
			boolean fixedOrder )
	{
		ArrayList choices = new ArrayList( );
		ReportDesignHandle report = (ReportDesignHandle) this.runnable
				.getDesignHandle( );
		DataSetHandle dataSet = report.findDataSet( dataSetName );
		if ( dataSet != null )
		{
			try
			{
				IDataEngine dataEngine = executionContext.getDataEngine( );
				DataEngine dteDataEngine = getDataEngine();
				
				dataEngine.defineDataSet(dataSet);
				ScriptExpression labelExpr = null;
				if ( labelStmt != null && labelStmt.length( ) > 0 )
				{