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 url;
			}
		}
		protected ClassLoader createClassLoaderFromDesign( ClassLoader parent )
		{
			IReportRunnable runnable = context.getRunnable( );
			if ( runnable != null )
			{
				ModuleHandle module = (ModuleHandle) runnable.getDesignHandle( );
				ArrayList urls = new ArrayList( );
				List list = module.getAllScriptLibs( );
				Iterator iter = list.iterator( );
				while ( iter.hasNext( ) )
				{
					ScriptLib lib = (ScriptLib) iter.next( );
					String libPath = lib.getName( );
					URL url = module.findResource( libPath,
							IResourceLocator.LIBRARY );
					if ( url != null )
					{
						urls.add( url );
					}
				}
				if ( urls.size( ) != 0 )
				{
					URL[] jarUrls = (URL[]) urls.toArray( new URL[]{} );
					return new URLClassLoader( jarUrls, parent );
				}
				return parent;