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
writer
				.write( "      oInput.name = '" + ParameterAccessor.PARAM_ISNULL + "';\n" ); 
		writer.write( "      oInput.value = \"" + encParamName + "\";\n" ); 
		writer.write( "      container.appendChild( oInput );\n" ); 
		writer.write( "    }\n" ); 
		
		writer.write( "\n" ); 
		writer.write( "    var oInput = document.createElement( 'input' );\n" ); 
		writer.write( "    oInput.type = 'hidden';\n" ); 
		writer.write( "    oInput.name = \"" + encParamName + "\";\n" ); 
		writer.write( "    oInput.value = value;\n" ); 
		writer.write( "    container.appendChild( oInput );\n" ); 
		
		writer.write( "\n" ); 
		writer.write( "    var oInput = document.createElement( 'input' );\n" ); 
		writer.write( "    oInput.type = 'hidden';\n" ); 
		writer.write( "    oInput.name = \"" + displayTextName + "\";\n" ); 
		writer.write( "    oInput.value = text;\n" ); 
		writer.write( "    container.appendChild( oInput );\n" ); 				
		writer.write( "  }\n" ); 
		
		if ( this.isLocale )
		{
			writer.write( "\n" ); 
			writer
					.write( "  var oInput = document.createElement( 'input' );\n" ); 
			writer.write( "  oInput.type = 'hidden';\n" ); 
			writer
					.write( "  oInput.name = \"" + ParameterAccessor.PARAM_ISLOCALE + "\";\n" ); 
			writer.write( "  oInput.value = \"" + encParamName + "\";\n" );