Bug 182873 JS error when use birt:paramDef with special parameter name.[0603]
Description: Javascript error when use birt:paramDef tag with special parameter name. Build number:2.2.0.v200704180630 Steps to reproduce: Prerequisite: New a report with a report parameter with name ~`!@#$%^&*()-=_+\][{}|';:"/,<>? 1. New a jsp file from BIRT tag template in BIRT Web Project. 2. Input below content in body: <birt:parameterPage id="0" name="customparameterpage" reportDesign="report/customJspTagParamDefName.rptdesign" isCustom="true"> <birt:paramDef id="1" name="~`!@#$%^&*()-=_+\][{}|';:/,?"/> <input type="submit" name="OK" value="submit"/> </birt:parameterPage> 3. Run the jsp file. Expected result: Value can be passed to report. Actual result: Javascript error. A runtime error has accurred... Error log:N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/taglib/ParamDefTag.java
writer.write( "				<TABLE WIDTH=\"100%\">\n" ); 
		writer.write( "					<TR>\n" ); 
		writer.write( "						<TD ALIGN=\"center\">\n" ); 
		writer.write( "							<INPUT TYPE=\"BUTTON\" VALUE=\"" 
				+ BirtResources.getMessage( "birt.viewer.dialog.cancel" ) 
				+ "\" \n" ); 
		writer.write( "									TITLE=\"" 
				+ BirtResources.getMessage( "birt.viewer.dialog.cancel" ) 
				+ "\" \n" ); 
		writer.write( "									CLASS=\"birtviewer_progressbar_button\"/>\n" ); 
		writer.write( "						</TD>\n" ); 
		writer.write( "					</TR>\n" ); 
		writer.write( "				</TABLE>\n" ); 
		writer.write( "			</DIV>\n" ); 
		writer.write( "		</TD>\n" ); 
		writer.write( "	</TR>\n" ); 
		writer.write( "</TABLE>\n" ); 
		writer.write( "</DIV>\n" ); 
		writer.write( "<INPUT TYPE=\"HIDDEN\" ID=\"taskid\" VALUE=''/>\n" ); 
	}
	/**
	 * Handle Common List Box type parameter( not cascading parameter )
	 * 
	 * @param selectionList
	 * 
	 * @throws Exception
	 */
	protected void __handleCommonListBox( Collection selectionList )
			throws Exception
	{