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
string = new NumberFormatter( pattern ).format( DataTypeUtil.toBigDecimal( string ) );
			}
			else if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( getSelectedDataType( ) ) )
			{
				string = new StringFormatter( pattern ).format( string );
			}
		}
		catch ( BirtException e )
		{
			
		}
		return string;
	}
	/**
	 * Check if the specified value is valid
	 * 
	 * @param value
	 *            the value to check
	 * @return Returns the error message if the input value is invalid,or null
	 *         if it is valid
	 */
	private String isValidValue( String value )
	{