Changeset 870 for trunk/grails-app/conf
- Timestamp:
- Sep 2, 2010, 1:06:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrapTemplates.groovy
r854 r870 469 469 ) 470 470 .addToFields(protocolField) 471 .with { if (!validate()) { errors.each { println it} } else save()} 471 .with { if (!validate()) { errors.each { println it} } else save(flush:true)} 472 dietTreatmentTemplate.refresh() 472 473 473 474 // boost treatment template … … 493 494 ) 494 495 .addToFields(protocolField) 495 .with { if (!validate()) { errors.each { println it} } else save()} 496 .with { if (!validate()) { errors.each { println it} } else save(flush:true)} 497 boostTreatmentTemplate.refresh() 496 498 497 499 // fasting treatment template … … 537 539 ) 538 540 ) 539 .with { if (!validate()) { errors.each { println it} } else save()} 541 .with { if (!validate()) { errors.each { println it} } else save(flush:true)} 542 liverSamplingEventTemplate.refresh() 540 543 541 544 // blood sampling … … 555 558 ) 556 559 ) 557 .with { if (!validate()) { errors.each { println it} } else save()} 560 .with { if (!validate()) { errors.each { println it} } else save(flush:true)} 561 bloodSamplingEventTemplate.refresh() 558 562 559 563 // plant sample extraction event template … … 669 673 ]) 670 674 ) 671 .with { if (!validate()) { errors.each { println it} } else save()} 675 .with { if (!validate()) { errors.each { println it} } else save(flush:true)} 676 metAssayTemplate.refresh() 672 677 } 673 678
Note: See TracChangeset
for help on using the changeset viewer.