Bug 120345 Need a URL generator API from Engine
The Chart Engine needs the ability to generate a viewer URL from an ActionHandle, this can be provided by a Report Engine public API for instance. The URL should usable as is by the viewer without any additional change. The Chart Engine can take care of evaluating the expressions inside the ActionHandle before calling the Report Engine API if necessary.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
* 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 )
		{
			return testExprValue;
		}
		Object vv1 = null;
		Object vv2 = null;
		if ( v1 != null )
		{
			vv1 = evaluate( v1.getText( ) );
		}
		if ( v2 != null )