- Timestamp:
- Apr 12, 2011, 2:36:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/AssayController.groovy
r1752 r1761 5 5 def assayService 6 6 def authenticationService 7 def fileService 7 8 8 9 static allowedMethods = [save: "POST", update: "POST", delete: "POST"] … … 200 201 try { 201 202 202 assayService.exportRowWiseDataToExcelFile(session.rowData, response.outputStream) 203 response.outputStream.flush() 203 def file = fileService.get('tempAssayExportFile') 204 def os = file.newOutputStream() 205 206 assayService.exportRowWiseDataToExcelFile(session.rowData, os) 207 os.flush() 208 209 response.outputStream << file.newInputStream() 210 211 file.delete() 204 212 205 213 } catch (Exception e) {
Note: See TracChangeset
for help on using the changeset viewer.