Bug 212701 Fail to render reportlet in birt:report with div container[0603]
Description: Fail to render reportlet when set container to div in report tab. Build number:2.3.0.v20071212 Steps to reproduce: 1. Deploy birt or create new birt web project. 2. preview attached jsp file. Expected result: Display chart reportlet only. Actual result: Display all report content out. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
if ( paramName == null )
			return null;
		if ( paramName.startsWith( PREFIX_DISPLAY_TEXT ) )
		{
			return paramName.replaceFirst( PREFIX_DISPLAY_TEXT, "" ); 
		}
		return null;
	}
	/**
	 * Returns the file name without extension from a base file path
	 * 
	 * @param baseName
	 * @return
	 */
	public static String generateFileNameWithoutExtension( String baseName )
	{
		String defaultName = "BIRTReport"; 
		String fileName = defaultName;
		if ( baseName == null || baseName.trim( ).length( ) <= 0 )
			return fileName;
		int index = baseName.lastIndexOf( '/' );
		if ( index == -1 )
			index = baseName.lastIndexOf( '\\' );
		
		
		if ( index != -1 )
		{
			baseName = baseName.substring( index + 1 );
		}