Bug 167267 getParameterDisplayText does not work on MasterPage in PDF
getParameterDisplayText does not seem to work when used on MasterPage. This problem seems to be limited to ReportViewer and PDF format. Table from my testing Deployed to Tomcat View Report in Web Viewer View Report as PDF Format HTML OK OK N/A PDF FAIL FAIL OK Incidentally getParameterDisplayText works fine in all of the above cases if used in footer of table in the report body.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
* Loads scripts that are stored in an external file. Used to support
	 * include-script. Each script file should be load only once. and the script
	 * in the file must be encoded in UTF-8.
	 * 
	 * @param fileName
	 *            script file name
	 */
	public void loadScript( String fileName )
	{
		ReportDesignHandle reportDesign = this.getDesign( );
		URL url = null;
		if ( reportDesign != null )
		{
			url = reportDesign.findResource( fileName,
					IResourceLocator.LIBRARY );
		}
		if (url == null)
		{
			return;
		}
		
		
		try
		{
			InputStream in = url.openStream( );
			ByteArrayOutputStream out = new ByteArrayOutputStream( );
			byte[] buffer = new byte[1024];
			int size = in.read( buffer );
			while ( size != -1 )
			{