Changeset 1413


Ignore:
Timestamp:
Jan 18, 2011, 4:07:11 PM (7 years ago)
Author:
work@…
Message:
  • removed 'tab' logic from importercontroller
File:
1 edited

Legend:

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

    r1411 r1413  
    4646        if (pluginManager.getGrailsPlugin('grom')) "redirecting into the webflow".grom()
    4747
     48
     49        // TODO --> move this logic to the application Bootstrapping as this
     50                //                      does not need to run every time the importer is started
     51                //
    4852        // encrypt the importable entities
    4953        grailsApplication.config.gscf.domain.importableEntities.each {
     
    161165                // put your bussiness logic (if applicable) in here
    162166            }.to "pageTwo"
    163             on("toPageTwo") {
    164                 // put your bussiness logic (if applicable) in here
    165             }.to "pageTwo"
    166             on("toPageThree") {
    167                 // put your bussiness logic (if applicable) in here
    168             }.to "pageThree"
    169             on("toPageFour") {
    170                 // put your bussiness logic (if applicable) in here
    171             }.to "pageFour"
    172             on("toPageFive") {
    173                 // put your bussiness logic (if applicable) in here
    174                 flow.page = 5
    175             }.to "save"
    176167        }
    177168
     
    196187            }.to "pageThree"
    197188            on("previous").to "pageOne"
    198             on("toPageOne").to "pageOne"
    199             on("toPageThree").to "pageThree"
    200             on("toPageFour").to "pageFour"
    201             on("toPageFive") {
    202                 flow.page = 5
    203             }.to "save"
    204189        }
    205190
     
    227212            }.to "pageFour"
    228213            on("previous").to "pageTwo"
    229             on("toPageOne").to "pageOne"
    230             on("toPageTwo").to "pageTwo"
    231             on("toPageFour").to "pageFour"
    232             on("toPageFive") {
    233                 flow.page = 5
    234             }.to "save"
    235214        }
    236215
     
    255234            }.to "save"
    256235            on("previous").to "pageThree"
    257             on("toPageOne").to "pageOne"
    258             on("toPageTwo").to "pageTwo"
    259             on("toPageThree").to "pageThree"
    260             on("toPageFive") {
    261                 flow.page = 5
    262             }.to "save"
    263236        }
    264237
     
    306279            on("next").to "save"
    307280            on("previous").to "pageFour"
    308             on("toPageOne").to "pageOne"
    309             on("toPageTwo").to "pageTwo"
    310             on("toPageThree").to "pageThree"
    311             on("toPageFour").to "pageFour"
    312             on("toPageFive").to "save"
    313281        }
    314282
Note: See TracChangeset for help on using the changeset viewer.