Bug 121019 Java based scripting -> TextItemInstance/setText, getText does not work properly
textItemInstance.setText( "Actuate Shanghai" ); System.out.println( textItemInstance.getText( ) ); after executing the codes above, i got "text/template". expected behavior: - Actuate Shanghai actual behavior: - text/template
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ReportContextImpl.java
public Map getPersistentObjects( )
	{
		return context.getGlobalBeans( );
	}
	public void setRegisteredPersistantObjects( Map persistantMap )
	{
		context.registerBeans( persistantMap );
	}
	public Object getParameterValue( String name )
	{
		return context.getParams( ).get( name );
	}
	public void setParameterValue( String name, Object value )
	{
		context.setParamter( name, value );
	}
	public Object getConfigVariableValue( String varName )
	{
		return context.getConfigs( ).get( varName );
	}
	public Locale getLocale( )
	{
		return context.getLocale( );
	}
	public String getOutputFormat( )
	{
		return context.getOutputFormat( );
	}
}