Bug 153214 Data in integer column cannot be imported to report paramter
Description: Data in integer column cannot be imported to report paramter Steps to reproduce: 1. New birt sample data source and dataset from CUSTOMERS 2. New a report parameter, integer, list-box, static 3. Click Import button, select customers dataset Expected result: Integer columns are listed in Select Column list actual result: No available columns for selection but actually CUSTOMERNUMBER column is integer type column
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
}
			if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( getSelectedDataType( ) ) )
			{
				DateFormatter formatter = new DateFormatter( STANDARD_DATE_TIME_PATTERN );
				Date date = formatter.parse( string );
				formatter.applyPattern( pattern );
				string = formatter.format( date );
			}
			else if ( DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( getSelectedDataType( ) ) )
			{
				string = new NumberFormatter( pattern ).format( DataTypeUtil.toDouble( string )
						.doubleValue( ) );
			}
			else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( getSelectedDataType( ) ) )
			{
				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 )
		{
			
		}
		catch ( ParseException e )
		{
		}
		return string;