Ignore:
Timestamp:
Jul 21, 2010, 4:02:20 PM (11 years ago)
Author:
tabma
Message:
  • improved validation in importerservice, now skips faulty entities (null) and final step now shows how many rows were succesfully saved
File:
1 edited

Legend:

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

    r670 r686  
    246246
    247247    def savePostview = {
    248         ImporterService.saveDatamatrix(session.importer_study, session.importer_importeddata)
    249         render(view:"step4")
     248        def validatedSuccesfully = ImporterService.saveDatamatrix(session.importer_study, session.importer_importeddata)
     249        render(view:"step4", model:[validatedSuccesfully:validatedSuccesfully, totalrows:session.importer_importeddata.size])
    250250    }
    251251
Note: See TracChangeset for help on using the changeset viewer.