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/ListScriptExecutor.java
IListEventHandler eh = ( IListEventHandler ) getInstance( ( ListHandle ) listDesign
					.getHandle( ) );
			if ( eh != null )
				eh.onCreate( list, context.getReportContext( ) );
		} catch ( Exception e )
		{
			log.log( Level.WARNING, e.getMessage( ), e );
		}
	}
	public static void handleOnRender( ContainerContent content,
			ExecutionContext context )
	{
		try
		{
			ReportItemDesign listDesign = ( ReportItemDesign ) content
					.getGenerateBy( );
			IListInstance list = new ListInstance( content );
			if ( handleJS( list, listDesign.getOnRender( ), context ).didRun( ) )
				return;
			IListEventHandler eh = ( IListEventHandler ) getInstance( ( ListHandle ) listDesign
					.getHandle( ) );
			if ( eh != null )
				eh.onRender( list, context.getReportContext( ) );
		} catch ( Exception e )
		{
			log.log( Level.WARNING, e.getMessage( ), e );
		}
	}
}