Bug 168639 Cannot set different maxrowofrecords for birt report tags [0603]
Description: Cannot set different maxrowofrecords for different birt:report Build number:2.2.0.v20061220 Steps to reproduce: 1. New a jsp file in BIRT Web project. 2. Input content in body as below: <birt:report id="1" contextRoot= "wtp_jsp_tags" reportDesign="max_rows.rptdesign" maxRowsOfRecords="3" height="600"> </birt:report> <birt:report id="2" contextRoot= "wtp_jsp_tags" reportDesign="max_rows.rptdesign" maxRowsOfRecords="2" format="pdf" height="600"> </birt:report> 3. run the jsp file Expected result: Because maxRowsOfRecords is a gloable variable, so the last value will be applied to all inner report, suggest to remove this attribute from birt:report and birt:viewer tags Actual result: The last value of maxRowsOfRecords attribute will be applied to all other reports. Error log:N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/taglib/AbstractViewerTag.java
writer.write( "param.value='" + paramValue + "';\n" ); 
			
			if ( param.getValue( ) instanceof String && param.isLocale( ) )
			{
				writer
						.write( "var param = document.createElement( \"INPUT\" );\n" ); 
				writer.write( "formObj.appendChild( param );\n" ); 
				writer.write( "param.TYPE = \"HIDDEN\";\n" ); 
				writer
						.write( "param.name='" + ParameterAccessor.PARAM_ISLOCALE + "';\n" ); 
				writer.write( "param.value='" + param.getName( ) + "';\n" ); 				
			}
			
			if ( param.getPattern( ) != null )
			{
				writer
						.write( "var param = document.createElement( \"INPUT\" );\n" ); 
				writer.write( "formObj.appendChild( param );\n" ); 
				writer.write( "param.TYPE = \"HIDDEN\";\n" ); 
				writer.write( "param.name='" + param.getName( ) 
						+ "_format';\n" ); 
				writer.write( "param.value='" + param.getPattern( ) + "';\n" ); 
			}
			
			if ( param.getDisplayText( ) != null )
			{
				writer
						.write( "var param = document.createElement( \"INPUT\" );\n" ); 
				writer.write( "formObj.appendChild( param );\n" ); 
				writer.write( "param.TYPE = \"HIDDEN\";\n" );