IDataItemEventHandler eh = ( IDataItemEventHandler ) getInstance( ( DataItemHandle ) dataItemDesign .getHandle( ) );
IDataItemEventHandler eh = getEventHandler( dataItemDesign, context );
	public static void handleOnRender( DataContent content,			ExecutionContext context )	{		try		{			ReportItemDesign dataItemDesign = ( ReportItemDesign ) content					.getGenerateBy( );			IDataItemInstance dataItem = new DataItemInstance( content, context );			if ( handleJS( dataItem, dataItemDesign.getOnRender( ), context )					.didRun( ) )				return;			IDataItemEventHandler eh = ( IDataItemEventHandler ) getInstance( ( DataItemHandle ) dataItemDesign					.getHandle( ) );			if ( eh != null )				eh.onRender( dataItem, context.getReportContext( ) );		} catch ( Exception e )		{			log.log( Level.WARNING, e.getMessage( ), e );		}	}