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/taglib/ReportTag.java
private void __processWithIFrame( ) throws Exception
	{
		if ( viewer.isHostPage( ) )
		{
			__handleIFrame( viewer.createURI( IBirtConstants.VIEWER_PREVIEW ),
					null );
		}
		else
		{
			__handleIFrame( viewer.createURI( IBirtConstants.VIEWER_PREVIEW ),
					viewer.getId( ) );
		}
	}
	/**
	 * DIV Appearance style
	 * 
	 * @return
	 */
	protected String __handleDivAppearance( )
	{
		String style = " style='"; 
		
		if ( viewer.getPosition( ) != null )
			style += "position:" + viewer.getPosition( ) + ";"; 
		
		if ( viewer.getHeight( ) >= 0 )
			style += "height:" + viewer.getHeight( ) + "px;"; 
		
		if ( viewer.getWidth( ) >= 0 )
			style += "width:" + viewer.getWidth( ) + "px;";