Changeset 165 for trunk/grails-app/conf/BootStrap.groovy
- Timestamp:
- Feb 3, 2010, 10:09:19 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r162 r165 135 135 ).with { if (!validate()) { errors.each { println it} } else save()} 136 136 137 def eventTreatment2 = new EventDescription( 138 name: 'Treatment2', 139 description: 'Treatment Protocol NuGO PPS1', 140 classification: treatmentTerm, 141 protocol: treatmentProtocol2 142 ).with { if (!validate()) { errors.each { println it} } else save()} 137 143 138 144 // studies … … 193 199 startTime: Date.parse('yyyy-MM-dd','2008-01-07'), 194 200 endTime: Date.parse('yyyy-MM-dd','2008-01-14'), 195 eventDescription: eventTreatment ,201 eventDescription: eventTreatment2, 196 202 parameterStringValues: ['Diet':'10% fat (palm oil)','Compound':'Vehicle','Administration':'intraperitoneal injection']) 197 203 ).with { if (!validate()) { errors.each { println it} } else save()}
Note: See TracChangeset
for help on using the changeset viewer.