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
protected void __beforeEndTag( )
	{
		super.__beforeEndTag( );
		viewer.setParameters( parameters );
		
		pageContext.setAttribute( viewer.getId( ), viewer.getId( ) );
		
		if ( viewer.isHostPage( ) )
			pageContext.setAttribute( ATTR_HOSTPAGE, "true" ); 
	}
	/**
	 * Handle use IFrame to preview report. Each IFrame should have an unique
	 * id.
	 * 
	 * @param src
	 * @param target
	 * @throws Exception
	 */
	protected void __handleIFrame( String src, String target ) throws Exception
	{
		JspWriter writer = pageContext.getOut( );
		
		String paramContainerId = "params_" + viewer.getId( ); 
		writer
				.write( "<div id=\"" + paramContainerId + "\" style='display:none'>\n" ); 
		Iterator it = viewer.getParameters( ).values( ).iterator( );
		while ( it.hasNext( ) )
		{
			ParameterField param = (ParameterField) it.next( );