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
context.setAppContext( appContext );
	}
	public void addToTask( String name, Object obj )
	{
		context.registerBean( name, obj );
	}
	public void removeFromTask( String name )
	{
		context.registerBean( name, null );
	}
	public Object getFromTask( String name )
	{
		return context.getBeans( ).get( name );
	}
	public void addToDocument( String name, Serializable obj )
	{
		context.registerGlobalBean( name, obj );
	}
	public void removeFromDocument( String name )
	{
		context.unregisterGlobalBean( name );
	}
	public Object getFromDocument( String name )
	{
		return context.getGlobalBeans( ).get( name );
	}
	public Map getTransientObjects( )
	{
		return context.getBeans( );
	}