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 reportDesignName
	 *            String
	 * @return String
	 */
	public static String getConfigFileName( String reportDesignName )
	{
		if ( reportDesignName == null )
			return null;
		String[] result = reportDesignName.split( "\\." ); 
		String extensionName = result[result.length - 1];
		String configFileName = reportDesignName.substring( 0, reportDesignName
				.length( )
				- extensionName.length( ) )
				+ IBirtConstants.SUFFIX_DESIGN_CONFIG;
		return configFileName;
	}
	/**
	 * Get current format of parameter.
	 * 
	 * @param request
	 *            HttpServletRequest
	 * @param paramName
	 *            String
	 * 
	 * @return String
	 */
	public static String getFormat( HttpServletRequest request, String paramName )
	{
		if ( request == null || paramName == null )
			return null;