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
public boolean __validate( ) throws Exception
	{
		String hasHostPage = (String) pageContext.getAttribute( ATTR_HOSTPAGE );
		if ( hasHostPage != null && "true".equalsIgnoreCase( hasHostPage ) ) 
		{
			return false;
		}
		
		this.locale = BirtTagUtil.getLocale( (HttpServletRequest) pageContext
				.getRequest( ), viewer.getLocale( ) );
		
		BirtResources.setLocale( this.locale );
		
		if ( viewer.getId( ) == null || viewer.getId( ).length( ) <= 0 )
		{
			throw new JspTagException( BirtResources
					.getMessage( ResourceConstants.TAGLIB_NO_ATTR_ID ) );
		}
		if ( !__validateViewerId( ) )
		{
			throw new JspTagException( BirtResources
					.getMessage( ResourceConstants.TAGLIB_INVALID_ATTR_ID ) );
		}
		
		if ( pageContext.findAttribute( viewer.getId( ) ) != null )
		{
			throw new JspTagException( BirtResources
					.getMessage( ResourceConstants.TAGLIB_ATTR_ID_DUPLICATE ) );
		}