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/instance/ReportElementInstance.java
{
		Object generatedBy = content.getGenerateBy( );
		if ( generatedBy instanceof ReportElementDesign )
		{
			ReportElementDesign design = ( ReportElementDesign ) generatedBy;
			Map m = design.getNamedExpressions( );
			return m.get( name );
		}
		
		return null;
	}
	public void setNamedExpressionValue( String name, Object value )
	{
		
	}
	public Object getUserProperty( String name )
	{
		
		return null;
	}
	public void setUserProperty( String name, Object value )
	{
		
	}
	public IReportElementInstance getParent( )
	{
		return ElementUtil.getInstance( content.getParent( ) );
	}
}