Bug 162174 [Regression]Default value of datetime parameter is not selected
Default value of datetime parameter is not selected Steps to reproduce: 1.new a report and new a parameter 2.set the parameter data type"DateTime",display type"Radio Button" and new two parameters,the display text and value of the first are "this year" and "09/05/2006,the second is "last year" and "09/05/2005". Set the first one as the default value 3.preview in html Expected result: the default value is selected Actual result: the default value is not selected
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/parameter/ComboBoxParameterFragment.java
options.setOption( InputOptions.OPT_REQUEST, request );
		Collection selectionList = null;
		ParameterDefinition paramDef = parameterBean.getParameter( );
		if ( paramDef.getGroup( ) != null && paramDef.getGroup( ).cascade( ) )
		{
			Map paramValues = attrBean.getParameters( );
			selectionList = getParameterSelectionListForCascadingGroup(
					attrBean.getReportDesignHandle( request ), service,
					paramValues, options );
			
			parameterBean.setCascade( true );
		}
		else
		{
			selectionList = service.getParameterSelectionList( attrBean
					.getReportDesignHandle( request ), options, parameter
					.getName( ) );
			
			parameterBean.setCascade( false );
		}
		parameterBean.setValueInList( false );
		if ( selectionList != null )
		{
			
			ScalarParameterHandle parameterHandle = (ScalarParameterHandle) attrBean
					.findParameter( parameter.getName( ) );
			
			String defaultValue = DataUtil.getDefaultValue( parameterHandle
					.getDataType( ), parameterBean.getDefaultValue( ) );
			for ( Iterator iter = selectionList.iterator( ); iter.hasNext( ); )