Bug 213836 [2.2.2]paramDef tag accepts locale-based value with false isLocale value[0603]
Description: paramDef tag accepts locale-based value when isLocale is false Build number:2.2.2.v200712181951 Steps to reproduce: 1. Create a BIRT web project. 2. Copy attached report and jsp file to project. 3. Run the jsp file. Expected result: Errors to indicate the second group values in parameterpage definition are wrong. Actual result: No errors and accept the value despite that the value is locale-based value. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/taglib/ParamDefTag.java
for ( int i = 0; i < values.length; i++ )
				{
					String value = DataUtil.getDisplayValue( values[i] );
					this.valueStringList.add( value );
				}
			}
		}
		else
		{
			this.valueString = DataUtil.getDisplayValue( param.getValue( ) );
			if ( this.valueString == null )
				this.valueString = ""; 
		}
		
		this.displayTextString = param.getDisplayText( );
		if ( this.displayTextString == null )
		{
			Object obj = param.getValue( );
			if ( obj != null )
			{
				if ( obj instanceof Object[] )
				{
					Object[] objs = (Object[]) obj;
					if ( objs.length > 0 )
						obj = objs[0];
					else
						obj = null;
				}
				this.displayTextString = ParameterValidationUtil
						.getDisplayValue( dataType, this.pattern, obj, locale );