Bug 212117 Fail to display reportlet to another target iframe[0603]
Description: Fail to display reportlet from run servlet to another target iframe Build number:2.3.0.v20071206 Steps to reproduce: 1. Deploy birt or create BIRT web project. 2. Preview attached jsp. Expected result: Display chart reportlet in target iframe. Actual result: Exception to say document instance is missing. Error log:see screen shot
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtGetPageAllActionHandler.java
options.setOption( InputOptions.OPT_IS_DESIGNER, new Boolean( attrBean
				.isDesigner( ) ) );
		
		ByteArrayOutputStream out = new ByteArrayOutputStream( );
		if ( ParameterAccessor.isGetImageOperator( context.getRequest( ) ) )
		{
			
			BirtRenderImageActionHandler renderImageHandler = new BirtRenderImageActionHandler(
					context, operation, response );
			renderImageHandler.__execute( );
		}
		else if ( ParameterAccessor.isGetReportlet( context.getRequest( ) ) )
		{
			
			String __reportletId = attrBean.getReportletId( );
			getReportService( ).renderReportlet( docName, __reportletId,
					options, new ArrayList( ), out );
		}
		else if ( context.getBean( ).isDocumentInUrl( ) )
		{
			
			if ( isToc( operation.getOprand( ), attrBean ) )
			{
				bookmark = getReportService( ).findTocByName( docName,
						bookmark, options );
			}
			
			getReportService( ).renderReport( docName,
					attrBean.getReportPage( ), attrBean.getReportPageRange( ),
					options, out );