Bug 208853 <birt:param> display param as input box above report content[0603]
Description: <birt:param> display parameter as input box above report content Build number:2.3.0.v20071106 Steps to reproduce: 1. New BIRT WEB project. 2. Copy attached report and jsp to WebContent folder. 3. Run project in Tomcat server and preview jsp page. Expected result: Display report content and parameter is passed into report. Actual result: Two parameter input box displayed above the report content.see attached. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/taglib/AbstractViewerTag.java
String encParamName = ParameterAccessor
					.htmlEncode( param.getName( ) );
			Object[] values;
			Object valueObj = param.getValue( );
			
			if ( valueObj != null && valueObj instanceof Object[] )
			{
				values = (Object[]) valueObj;
			}
			else
			{
				values = new Object[1];
				values[0] = valueObj;
			}
			for ( int i = 0; i < values.length; i++ )
			{
				
				String paramValue = DataUtil.getDisplayValue( values[i] );
				
				if ( paramValue == null )
				{
					writer
							.write( "<input type = 'hidden' name=\"" + ParameterAccessor.PARAM_ISNULL + "\" \n" ); 
					writer.write( " value=\"" + encParamName + "\">\n" ); 
					continue;
				}
				
				writer
						.write( "<input type = 'hidden' name=\"" + encParamName + "\" \n" ); 
				writer.write( " value=\"" + paramValue + "\">\n" );