Ignore:
Timestamp:
Jul 15, 2010, 3:38:18 PM (6 years ago)
Author:
tabma
Message:
  • fixed header and column import with mouse test dataset
File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.