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
if ( keyObj != null && value instanceof Serializable )
				{
					String key = keyObj.toString( );
					registerGlobalBean( key, (Serializable) value );
				}
			}
		}
	}
	public void registerGlobalBean( String name, Serializable value )
	{
		persistentBeans.put( name, value );
		registerInRoot( name, value );
	}
	public void unregisterGlobalBean( String name )
	{
		persistentBeans.remove( name );
		registerInRoot( name, null );
	}
	public Map getGlobalBeans( )
	{
		return persistentBeans;
	}
	private void registerInRoot( String name, Object value )
	{
		Scriptable root = scriptContext.getRootScope( );
		Object sObj = Context.javaToJS( value, root );
		root.put( name, root, sObj );
	}
	/**
	 * Evaluate a BIRT expression