Bug 156642 [Regression]Script of onPrepare is no effect
Details: Script of onPrepare is no effect Set any function on onPrepare, but it is no effect. For example: this.getStyle().color="red" Excepted: it is effect
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RunAndRenderTask.java
}
		loadDesign( );
		prepareDesign( );
		startFactory( );
		startRender( );
		try
		{
			IContentEmitter emitter = createContentEmitter( );
			ReportExecutor executor = new ReportExecutor( executionContext,
					reportDesign, null );
			IReportExecutor lExecutor = new LocalizedReportExecutor(
					executionContext, executor );
			executionContext.setExecutor( executor );
			initializeContentEmitter( emitter, executor );
			
			String format = executionContext.getOutputFormat( );
			boolean paginate = true;
			if ( "html".equalsIgnoreCase( format ) ) 
			{
				if ( renderOptions instanceof HTMLRenderOption )
				{
					HTMLRenderOption htmlOption = (HTMLRenderOption) renderOptions;
					paginate = htmlOption.getHtmlPagination( );
				}
			}
			synchronized ( this )
			{
				if ( !executionContext.isCanceled( ) )
				{
					layoutEngine = LayoutEngineFactory.createLayoutEngine( emitter.getOutputFormat( ) );