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
String[] sValues = (String[]) param.getValue( );
				Object[] values = new Object[sValues.length];
				for ( int i = 0; i < sValues.length; i++ )
				{
					Object valueObj = DataUtil.validateWithPattern( param
							.getName( ), dataType, this.pattern, sValues[i],
							locale, isLocale );
					values[i] = valueObj;
				}
				param.setValue( values );
			}
		}
		else
		{
			Object defaultValue = BirtReportServiceFactory.getReportService( )
					.getParameterDefaultValue( viewer.getReportDesignHandle( ),
							param.getName( ), options );
			if ( this.paramDef.isMultiValue( ) )
				param.setValue( new Object[]{defaultValue} );
			else
				param.setValue( defaultValue );
		}
		
		if ( this.paramDef.isMultiValue( ) )
		{
			
			this.valueStringList = new ArrayList( );
			Object[] values = (Object[]) param.getValue( );
			if ( values != null )
			{