Bug 175788 Set default value doesn't work in Report Parameter[0705]
Description: Set default value doesn't work in Report Parameter[0705] Build number: 2.2.0.v20070228-0630 Steps to reproduce: 1, New a dataset 2, New a report parameter: 'p1' 3, Select "Combo Box" as Display Type 4, Click 'Import Values' button and import some data 5, Choose one selection and Click 'Set as Default' button 6, Click 'OK' to finish the operation 7, Double click and edit p1 Expected result: After step7, the selection is set as Default value Actual result: After step7, the selection is no change, and the warning:"You must set a default value" also occurs Error log:
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
private static final IChoiceSet CONTROL_TYPE_CHOICE_SET = DEUtil.getMetaDataDictionary( )
			.getChoiceSet( DesignChoiceConstants.CHOICE_PARAM_CONTROL );
	private ScalarParameterHandle inputParameter;
	private boolean loading = true;
	private Text nameEditor, promptTextEditor, defaultValueEditor,
			helpTextEditor, formatField;
	
	private Label promptMessageLine;
	
	private CLabel errorMessageLine;
	
	private Button allowNull, allowBlank, doNotEcho, isHidden, needSort;
	
	private Button importValue, changeDefault, changeFormat, createDataSet;
	
	private Button dynamicRadio, staticRadio;
	
	private Combo dataTypeChooser, controlTypeChooser, defaultValueChooser;
	
	private Combo dataSetChooser, columnChooser, displayTextChooser;
	
	private Label previewLabel;
	private TableViewer valueTable;
	private String lastDataType, lastControlType;
	private String formatCategroy, formatPattern;
	private String defaultValue;
	private Composite valueArea;
	private List columnList;
	private IStructuredContentProvider contentProvider = new IStructuredContentProvider( ) {
		public void dispose( )