Bug 153537 Event Handler didn't work properly in masterpage
Steps to reproduce: 1.Run the attached report in Web Viewer, it works well 2.Click "print" to convert the output in PDF Expected result: Masterpage has the same view in Web Viewer and PDF Actual result: Masterpage didn't get right view
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
return evaluate( source, "<inline>", 1 );
	}
	/**
	 * @param jsValue
	 *            a Javascript object
	 * @return A Java object
	 */
	public Object jsToJava( Object jsValue )
	{
		return scriptContext.jsToJava( jsValue );
	}
	/**
	 * Evaluate a BIRT expression
	 * 
	 * @param expr
	 *            the expression to be evaluated
	 * @param name
	 *            the file name
	 * @param lineNo
	 *            the line number
	 * 
	 * @return the result if no error exists, otherwise null.
	 */
	public Object evaluate( String expr, String name, int lineNo )
	{
		if ( expr != null )
		{
			try
			{
				return scriptContext.eval( expr, name, lineNo );