Bug 163271 Cascading parameter dialog - Changing from multiple to single dataset does not work
Steps to reproduce - - Create a new cascading parameter group - Select multiple dataset - define parameter country and associate it with datasetCountry - define parameter state and associate with datasetSate Now try to change from multiple dataset to single dataset. The second dataset still shows up and also the report design file is wrong. The single dataset should be saved ast he cascading parameter group level.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/GetParameterDefinitionTask.java
}
				Object value = getStringValue( choice.getValue( ), dataType );
				choices.add( new SelectionChoice( label, value ) );
			}
			if ( !fixedOrder )
				Collections
						.sort( choices, new SelectionChoiceComparator( true, parameter.getPattern( ), ULocale.forLocale( locale ) ) );
			return choices;
		}
		return Collections.EMPTY_LIST;
	}
	/**
	 * convert the string to value.
	 * 
	 * @param value
	 *            value string
	 * @param valueType
	 *            value type
	 * @return object with the specified value
	 */
	private Object getStringValue( String value, String valueType )
	{
		try
		{
			if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN.equals( valueType ) )
				return DataTypeUtil.toBoolean( value );
			if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( valueType ) )
				return DataTypeUtil.toDate( value );
			if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( valueType ) )
				return DataTypeUtil.toBigDecimal( value );