Bug 173223 Pages are lost when preview as PDF in web viewer[0002]
Pages are lost when preview as PDF in web viewer[0002] Build number: 2.2.0.v20070207-0941 Steps to reproduce: 1.open attached report design 2.preview in web viewer ,there are three pages,then click Print as PDF,there'll be only one page in PDF,but when you directly preview in PDF,there'll be three pages Expected result: 3 pages are displayed Actual result: only one page is displayed Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
* @param request
	 *            http request
	 * @return reportlet id
	 */
	public static String getReportletId( HttpServletRequest request )
	{
		if ( isIidReportlet( request ) )
			return getParameter( request, PARAM_INSTANCEID );
		if ( isBookmarkReportlet( request ) )
			return getParameter( request, PARAM_BOOKMARK );
		return null;
	}
	/**
	 * Get named parameters from http request. parameter names and values are
	 * all in iso-8859-1 format in request.
	 * 
	 * @param request
	 *            incoming http request
	 * @param parameterName
	 *            parameter name in UTF-8 format
	 * @return named parameters from http request
	 */
	public static Set getParameterValues( HttpServletRequest request,
			String parameterName )
	{
		return getParameterValues( request, parameterName, true );
	}
	/**
	 * Get report file name. If passed file path is null, get report file from
	 * request.