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
}
		else if ( !parameter.allowNull( ) && parameter.allowBlank( ) )
		{
			parameterValue = ""; 
		}
		
		switch ( parameter.getDataType( ) )
		{
			case ParameterDefinition.TYPE_STRING :
			{
				
				
				parameterBean.setRequired( false );
				if ( parameterValue == null && !parameter.allowNull( ) )
				{
					parameterBean.setRequired( true );
				}
				else if ( parameterValue != null
						&& parameterValue.trim( ).length( ) <= 0
						&& !parameter.allowBlank( ) )
				{
					parameterBean.setRequired( true );
				}
				break;
			}
			default :
			{
				parameterBean.setRequired( paramValueObj == null );
				break;
			}