Ignore:
Timestamp:
Nov 5, 2010, 11:55:58 AM (10 years ago)
Author:
s.h.sikkema@…
Message:

Added xlsx import functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy

    r1083 r1087  
    2323import dbnp.studycapturing.Template
    2424import dbnp.studycapturing.Study
    25 import dbnp.studycapturing.Subject
    26 import dbnp.studycapturing.Event
    27 
    28 import dbnp.studycapturing.Sample
     25
    2926import dbnp.studycapturing.TemplateFieldType
    30 import dbnp.studycapturing.TemplateField
    3127import grails.converters.JSON
    32 import org.apache.poi.hssf.usermodel.HSSFWorkbook
     28import org.apache.poi.ss.usermodel.Workbook
    3329import grails.plugins.springsecurity.Secured
    3430
     
    125121     * @return workbook object reference
    126122     */
    127     private HSSFWorkbook handleUpload(formfilename) {
     123    private Workbook handleUpload(formfilename) {
    128124
    129125        def downloadedfile = request.getFile(formfilename);
Note: See TracChangeset for help on using the changeset viewer.