Changeset 343
- Timestamp:
- Apr 15, 2010, 1:16:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy
r341 r343 88 88 flash.cancel = true 89 89 } 90 on("cancel").to "start" 90 on("cancel") { 91 flow.study = null 92 }.to "start" 91 93 on("next") { 92 94 // TODO: loading a study is not yet implemented … … 119 121 flash.errors = [:] 120 122 121 if (this.handleStudy(flow, flash, params)) { 122 success() 123 } else { 124 error() 125 } 123 // handle the study 124 this.handleStudy(flow, flash, params) 125 126 // reset errors 127 flash.errors = [:] 128 129 success() 126 130 }.to "start" 127 131 on("next") {
Note: See TracChangeset
for help on using the changeset viewer.