- Timestamp:
- Mar 2, 2011, 5:40:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/AssayController.groovy
r1576 r1583 150 150 flash.errorMessage = e.message 151 151 redirect action: 'selectAssay' 152 return ;152 return 153 153 154 154 } … … 159 159 flash.assayId = params.assayId 160 160 161 [fieldMap: fieldMap, measurementTokens: measurementTokens *.name]161 [fieldMap: fieldMap, measurementTokens: measurementTokens.name] 162 162 } 163 163 … … 170 170 171 171 def fieldMap = flash.fieldMap 172 def measurementTokens = flash.measurementTokens173 172 174 173 def fieldMapSelection = [:] … … 199 198 if (params."cat_4" == 'on') { 200 199 201 measurementTokensSelection = params.measurementToken == 'null' ? measurementTokens : [ name: params.measurementToken] 200 def measurementToken = params.measurementToken 201 202 if (measurementToken) { 203 204 if (measurementToken instanceof String) 205 measurementTokensSelection = [[name: measurementToken]] 206 else 207 measurementTokensSelection = measurementToken.collect{[name: it]} 208 209 } else { 210 measurementTokensSelection = flash.measurementTokens 211 } 202 212 203 213 }
Note: See TracChangeset
for help on using the changeset viewer.