Bug 183336 birt:paramDef should process parameters which do not echo input.
Description: birt:paramDef should process parameters which do not echo input. Build number:2.2.0.v20070420 Steps to reproduce: 1. New a report with a parameter, string, tick on "do not echo input" option. 2. New a birt jsp file with content. <birt:parameterPage id="0" name="page" reportDesign="report.rptdesign" isCustom="true"> echo parameter:<birt:paramDef id="1" name="p_echo"/> <input type="submit" name="OK" value="submit"/> </birt:parameterPage> 3. Preview the jsp and input content in input box. Expected result: Input content is replaced with other signals as "*" Actual result: User can see the input content. Error log:N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/taglib/ParamDefTag.java
+ "\");\n" ); 			
			writer.write( "var valCtl = document.getElementById(\"" + valueId 
					+ "\");\n" ); 
			writer
					.write( "if( valCtl ) valCtl.name = \"" + encParamName + "\";\n" ); 		
			writer.write( "if( valCtl ) valCtl.value = inputCtl.value;\n" ); 
			writer.write( "var displayCtl = document.getElementById(\"" 
					+ displayTextId + "\");\n" ); 
			writer
					.write( "if( displayCtl ) displayCtl.name = \"" + displayTextName + "\";\n" ); 
			writer
					.write( "if( displayCtl ) displayCtl.value = inputCtl.value;\n" ); 
			writer
					.write( "var nullCtl = document.getElementById(\"" + nullValueId + "\");\n" ); 
			writer.write( "if( nullCtl ) nullCtl.name='';\n" ); 
			writer
					.write( "var localeCtl = document.getElementById(\"" + isLocaleId + "\");\n" ); 
			writer
					.write( "if( localeCtl ) localeCtl.name = \"" + ParameterAccessor.PARAM_ISLOCALE + "\";\n" ); 
			writer.write( "}\n" ); 
			writer.write( "</script>\n" ); 
		}
		
		writer.write( "\n<script language=\"JavaScript\">\n" ); 
		writer.write( "function handleParam" + encParamId + "( option )\n" ); 
		writer.write( "{\n" ); 
		writer.write( "if( !option ) return;\n" ); 
		writer.write( "var valCtl = document.getElementById(\"" + valueId 
				+ "\");\n" ); 
		writer.write( "var displayCtl = document.getElementById(\""