Changeset 536 for trunk/grails-app/conf


Ignore:
Timestamp:
Jun 7, 2010, 9:20:00 AM (11 years ago)
Author:
roberth
Message:

Samples are now shown in the study overview page. Also some tests are added and the bootstrap is updated to show some sample fields with a template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BootStrap.groovy

    r531 r536  
    960960                                                name: currentSubject.name + '_B',
    961961                                                material: bloodTerm,
     962                                                template: humanBloodSampleTemplate,
    962963                                                parentSubject: currentSubject,
    963964                                                parentEvent: bloodSamplingEvent
    964965                                        );
     966                                        currentSample.setFieldValue( "Text on vial", "T" + (Math.random() * 100L) )
    965967
    966968                                        humanStudy.addToSubjects(currentSubject).addToSamples(currentSample).with { if (!validate()) { errors.each { println it} } else save()}
Note: See TracChangeset for help on using the changeset viewer.