Changeset 1047

Show
Ignore:
Timestamp:
02-11-10 11:15:55 (3 years ago)
Author:
t.w.abma@…
Message:

- referer for now obtained via redirectTo param in the URL

Files:
1 modified

Legend:

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

    r1044 r1047  
    4242 
    4343    def index = { 
    44         session.import_referer = request.getHeader('referer')         
     44        //session.import_referer = request.forwardURI 
     45        // should do a check what is in the url, strip it? 
     46        session.import_referer = params.redirectTo 
    4547    } 
    4648 
     
    266268        session.importer_importeddata = ImporterService.importData(session.importer_template_id, session.importer_workbook, session.importer_sheetindex, session.importer_datamatrix_start, session.importer_header) 
    267269 
    268         // 
     270        // First handle the "failed cells" 
     271        //ImporterService.getFailedCells(session.importer_importeddata) 
     272         
    269273        //render(view:"step2a_simple", model:[datamatrix:session.importer_importeddata]) 
    270274