Changeset 431 for trunk/grails-app
- Timestamp:
- May 18, 2010, 11:39:32 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/TermEditorController.groovy
r376 r431 21 21 def index = { 22 22 // got a ontology get parameter? 23 def ontolog y = (params.ontology) ? params.ontology: null23 def ontologies = (params.ontologies) ? params.ontologies : null 24 24 25 25 // enter the flow! 26 redirect(action: 'pages', params:["ontolog y":ontology])26 redirect(action: 'pages', params:["ontologies":ontologies]) 27 27 } 28 28 … … 35 35 println "start term / ontology editor flow" 36 36 37 if (params.ontolog y) {37 if (params.ontologies) { 38 38 flow.ontologies = [] 39 params.ontolog y.split(/\,/).each() { ncboId ->39 params.ontologies.split(/\,/).each() { ncboId -> 40 40 // trim the id 41 41 ncboId.trim()
Note: See TracChangeset
for help on using the changeset viewer.