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
err.printStackTrace( );
			log.log( Level.SEVERE,
					"An OutOfMemory error happened while running the report." ); 
			throw err;
		}
		catch ( Throwable t )
		{
			log.log( Level.SEVERE,
					"Error happened while running the report.", t ); 
			new EngineException( "Error happened while running the report", t ); 
		}
		finally
		{
			setRunningFlag( false );
		}
	}
	public void setEmitterID( String id )
	{
		this.emitterID = id;
	}
	
	protected void doCancel()
	{
		super.doCancel( );
		if(layoutEngine!=null)
		{
			layoutEngine.cancel( );
		}
	}
}