- Timestamp:
- Jan 18, 2011, 4:07:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy
r1411 r1413 46 46 if (pluginManager.getGrailsPlugin('grom')) "redirecting into the webflow".grom() 47 47 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 // 48 52 // encrypt the importable entities 49 53 grailsApplication.config.gscf.domain.importableEntities.each { … … 161 165 // put your bussiness logic (if applicable) in here 162 166 }.to "pageTwo" 163 on("toPageTwo") {164 // put your bussiness logic (if applicable) in here165 }.to "pageTwo"166 on("toPageThree") {167 // put your bussiness logic (if applicable) in here168 }.to "pageThree"169 on("toPageFour") {170 // put your bussiness logic (if applicable) in here171 }.to "pageFour"172 on("toPageFive") {173 // put your bussiness logic (if applicable) in here174 flow.page = 5175 }.to "save"176 167 } 177 168 … … 196 187 }.to "pageThree" 197 188 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 = 5203 }.to "save"204 189 } 205 190 … … 227 212 }.to "pageFour" 228 213 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 = 5234 }.to "save"235 214 } 236 215 … … 255 234 }.to "save" 256 235 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 = 5262 }.to "save"263 236 } 264 237 … … 306 279 on("next").to "save" 307 280 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"313 281 } 314 282
Note: See TracChangeset
for help on using the changeset viewer.