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/RunTask.java
if ( pageHandler != null )
				{
					documentBuilder.setPageHandler( pageHandler );
				}
				IContentEmitter emitter = documentBuilder.getContentEmitter( );
				ReportExecutor executor = new ReportExecutor( executionContext,
						report.getReportIR( ),
						emitter );
				executionContext.setExecutor( executor );
				initializeContentEmitter( emitter, executor );
				documentBuilder.build( );
			}
			
			
			executionContext.closeDataEngine( );
			writer.savePersistentObjects( executionContext.getGlobalBeans( ) );
		}
		catch ( Exception ex )
		{
			log.log( Level.SEVERE,
					"An error happened while running the report. Cause:", ex ); 
			throw new EngineException(
					"Error happended while running the report", ex );
		}
		catch ( OutOfMemoryError err )
		{
			log.log( Level.SEVERE,
					"An OutOfMemory error happened while running the report." ); 
			throw err;
		}