if ( ActionEngine.getInstance().executeAction( value, contentType, request, response,
PentahoSessionHolder.getSession(), Parameter.asHashMap( request ) ) ) {
Export export;
if ( IExport.EXPORT_TYPE_CSV.equalsIgnoreCase( exportType ) ) {
export = new ExportCSV( response.getOutputStream() );
response.setHeader( "Content-Type", MimeTypes.CSV );
} else {
export = new ExportExcel( response.getOutputStream() );
response.setHeader( "Content-Type", MimeTypes.XLS );