Bug 200302 Can not link to the specific bookmark as web view[04]
Description: Can not link to the specific bookmark as web view[04] Step: 1. Two labels, which have a page break between them. 2. The second label set the bookmark as "bk\\" 3. The first label set the hyperlink to the internal bookmark to the bookmark that is second label's. 4. Preview as web view and click the hyperlink Actual result: It can not link to the second label.( If use the drill-through, it is work. ) Expected result: It can link to the second label.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
return fileName;
	}
	/**
	 * Generates a file name for output attachment.
	 * 
	 * @param request
	 * @param format
	 * @return the file name
	 */
	public static String generateFileName( HttpServletRequest request,
			String format )
	{
		String baseName = null;
		BaseAttributeBean attrBean = (BaseAttributeBean) request
				.getAttribute( IBirtConstants.ATTRIBUTE_BEAN );
		if ( attrBean != null )
		{
			baseName = attrBean.getReportDesignName( );
			if ( baseName == null || baseName.length( ) == 0 )
				baseName = attrBean.getReportDocumentName( );
		}
		String fileName = generateFileNameWithoutExtension( baseName );
		
		String extensionName = getExtensionName( format );
		if ( extensionName != null && extensionName.length( ) > 0 )
		{
			fileName += "." + extensionName; 
		}
		return fileName;
	}