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
displayName = ( displayName == null || displayName.length( ) <= 0 )
				? parameter.getDisplayName( )
				: displayName;
		displayName = ( displayName == null || displayName.length( ) <= 0 )
				? parameter.getName( )
				: displayName;
		displayName = ParameterAccessor.htmlEncode( displayName );
		parameterBean.setDisplayName( displayName );
		
		ViewerAttributeBean attrBean = (ViewerAttributeBean) request
				.getAttribute( IBirtConstants.ATTRIBUTE_BEAN );
		assert attrBean != null;
		
		Object paramValueObj = null;
		String parameterValue = null;
		if ( attrBean.getParametersAsString( ) != null )
			paramValueObj = attrBean.getParametersAsString( ).get(
					parameterBean.getName( ) );
		if ( paramValueObj != null )
		{
			if ( paramValueObj instanceof Date )
			{
				
				parameterValue = ParameterValidationUtil
						.getDisplayValue( paramValueObj );
			}
			else
			{
				parameterValue = paramValueObj.toString( );
			}