Bug 184569 Time parameter format will affact other data item format.[0705]
Description: Time parameter format will affact other data item format. Build number:2.2.0.v20070428 Steps to reproduce: 1. New a report parameter, Time type. 2. Click Change to set format as hh:mm. 3. Drag the parameter to layout. 4. Insert a Data item, datetime type, input expression as "new Date()". 5. Preview and input 8:30 as value Expected result: Display time value and the second line display datetime value. Actual result: Both parameter and data item display time value. Error log:N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
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 )
		{
			vv2 = evaluate( v2.getText( ) );
		}
		try
		{
			return ScriptEvalUtil.evalConditionalExpr( testExprValue, expr
					.getOperator( ), vv1, vv2 );
		}
		catch ( Exception e )
		{
			log.log( Level.SEVERE, e.getMessage( ), e );
			addException( new EngineException(
					MessageConstants.INVALID_EXPRESSION_ERROR, expr, e ) );
			return Boolean.FALSE;
		}
	}
	/**
	 * execute the script. simply evaluate the script, and drop the return value