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
log.log( Level.SEVERE, e.getMessage( ), e );
				addException( new EngineException(
						MessageConstants.SCRIPT_EVALUATION_ERROR, expr, e ) ); 
			}
		}
		return null;
	}	
	/**
	 * evaluate conditional expression. A conditional expression can have an
	 * operator, one LHS expression, and up to two expressions on RHS, i.e.,
	 * 
	 * testExpr operator operand1 operand2 or testExpr between 1 20
	 * 
	 * Now only support comparison between the same data type
	 * 
	 * @param expr
	 *            the conditional expression to be evaluated
	 * @return a boolean value (as an Object)
	 */
	public Object evaluateCondExpr( IConditionalExpression expr )
	{
		int operator = expr.getOperator( );
		IScriptExpression testExpr = expr.getExpression( );
		IScriptExpression v1 = expr.getOperand1( );
		IScriptExpression v2 = expr.getOperand2( );
		if ( testExpr == null )
			return Boolean.FALSE;
		Object testExprValue = evaluate( testExpr.getText( ) );
		if ( IConditionalExpression.OP_NONE == operator )
		{