Bug 164445 [Regression]Required value's parameter has no "*" [0705]
Description: Required value's parameter has no "*". Build number: 2.2.0.v20061114-1013 Steps to reproduce: 1.Create a paramter: name:p1, default vale: aa; not allow null value 2.Preview in Web Viewer 3.Pop up parameter dialog Expected result: P1 has mark "*". Actual result: P1 has no mark "*"(set default value). Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/parameter/ScalarParameterFragment.java
}
		
		ScalarParameterHandle parameterHandle = (ScalarParameterHandle) attrBean
				.findParameter( parameter.getName( ) );
		Map configMap = attrBean.getParameters( );
		if ( configMap != null && configMap.containsKey( parameter.getName( ) ) )
		{
			Object configObj = configMap.get( parameter.getName( ) );
			
			if ( configObj != null
					&& parameter.getControlType( ) == ParameterDefinition.TEXT_BOX )
			{
				parameterValue = ParameterValidationUtil.getDisplayValue( null,
						parameterHandle.getPattern( ), configObj, attrBean
								.getLocale( ) );
			}
		}
		
		parameterBean.setValue( parameterValue );
		
		parameterBean.setDefaultValue( DataUtil.getDefaultValue(
				parameterHandle.getDataType( ), parameterHandle
						.getDefaultValue( ) ) );
	}
	protected void prepareParameterBean( HttpServletRequest request,
			IViewerReportService service, ScalarParameterBean parameterBean,
			Locale locale ) throws ReportServiceException
	{
	}
}