Show
Ignore:
Timestamp:
15-07-10 15:38:18 (4 years ago)
Author:
tabma
Message:

- fixed header and column import with mouse test dataset

Files:
1 modified

Legend:

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

    r632 r655  
    6363        session.importer_workbook = wb 
    6464 
    65         render (view:"step1_advanced", model:[header:session.importer_header, datamatrix:ImporterService.getDatamatrix(wb, 0, 5)]) 
     65        render (view:"step1_advanced", model:[header:session.importer_header, datamatrix:ImporterService.getDatamatrix(wb, session.importer_header, 0, 5)]) 
    6666    } 
    6767 
     
    9090        def templates = Template.get(session.importer_template_id) 
    9191         
    92         render(view:"step2_simple", model:[entities: selectedentities, header:session.importer_header, datamatrix:ImporterService.getDatamatrix(wb, 0, 5), templates:templates]) 
     92        render(view:"step2_simple", model:[entities: selectedentities, header:session.importer_header, datamatrix:ImporterService.getDatamatrix(wb, session.importer_header, 0, 5), templates:templates]) 
    9393    } 
    9494 
     
    125125        } 
    126126 
    127         render(view:"step3", model:[datamatrix:session.importer_importeddata]) 
    128         //render("Succesful") 
     127        render(view:"step3", model:[datamatrix:session.importer_importeddata])   
    129128    } 
    130129