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
*/
	public IViewerReportService getReportService( )
	{
		return BirtReportServiceFactory.getReportService( );
	}
	/**
	 * implement __execute method
	 */
	protected void __execute( ) throws Exception
	{
		
		ViewerAttributeBean attrBean = (ViewerAttributeBean) context.getBean( );
		assert attrBean != null;
		Locale locale = attrBean.getLocale( );
		boolean master = attrBean.isMasterPageContent( );
		boolean svgFlag = getSVGFlag( operation.getOprand( ) );
		String docName = attrBean.getReportDocumentName( );
		
		String bookmark = getBookmark( operation.getOprand( ), context
				.getBean( ) );
		
		InputOptions options = new InputOptions( );
		options.setOption( InputOptions.OPT_REQUEST, context.getRequest( ) );
		options.setOption( InputOptions.OPT_LOCALE, locale );
		options.setOption( InputOptions.OPT_RTL,
				new Boolean( attrBean.isRtl( ) ) );
		options.setOption( InputOptions.OPT_IS_MASTER_PAGE_CONTENT,
				new Boolean( master ) );
		options.setOption( InputOptions.OPT_SVG_FLAG, new Boolean( svgFlag ) );
		options.setOption( InputOptions.OPT_FORMAT, attrBean.getFormat( ) );