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/RowScriptExecutor.java
{
	public static void handleOnPrepare( RowHandle rowHandle,
			ExecutionContext context )
	{
		try
		{
			IRow row = new Row( rowHandle );
			if ( handleJS( row, rowHandle.getOnPrepare( ), context ).didRun( ) )
				return;
			IRowEventHandler eh = ( IRowEventHandler ) getInstance( rowHandle );
			if ( eh != null )
				eh.onPrepare( row, context.getReportContext( ) );
		} catch ( Exception e )
		{
			log.log( Level.WARNING, e.getMessage( ), e );
		}
	}
	public static void handleOnCreate( RowContent content, IRowData rowData,
			ExecutionContext context )
	{
		try
		{
			ReportItemDesign rowDesign = ( ReportItemDesign ) content
					.getGenerateBy( );
			IRowInstance row = new RowInstance( content );
			if ( handleJS( row, rowDesign.getOnCreate( ), context ).didRun( ) )
				return;