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/CellScriptExecutor.java
.getHandle( ) );
				if ( eh != null )
					eh.onCreate( cell, rowData, context.getReportContext( ) );
			}
		} catch ( Exception e )
		{
			log.log( Level.WARNING, e.getMessage( ), e );
		}
	}
	public static void handleOnRender( CellContent content, IRowData rowData,
			ExecutionContext context )
	{
		try
		{
			ReportItemDesign cellDesign = ( ReportItemDesign ) content
					.getGenerateBy( );
			ICellInstance cell = new CellInstance( content );
			if ( handleJS( cell, cellDesign.getOnRender( ), context ).didRun( ) )
				return;
			ICellEventHandler eh = ( ICellEventHandler ) getInstance( ( CellHandle ) cellDesign
					.getHandle( ) );
			if ( eh != null )
				eh.onRender( cell, context.getReportContext( ) );
		} catch ( Exception e )
		{
			log.log( Level.WARNING, e.getMessage( ), e );
		}
	}
}