Changeset 177 for trunk/grails-app/conf


Ignore:
Timestamp:
Feb 8, 2010, 12:46:19 PM (11 years ago)
Author:
keesvb
Message:

added mouse genotype fields to bootstrap, replaced giveAllFields in Study to return template fields

File:
1 edited

Legend:

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

    r175 r177  
    117117                                name: 'Mouse'
    118118                        ).addToSubjectFields(new TemplateSubjectField(
    119                                 name: 'Genotype',type: TemplateFieldType.STRINGLIST))
     119                                name: 'Genotype',type: TemplateFieldType.STRINGLIST,
     120                                listEntries: ['C57/Bl6j','wild type']))
    120121                        .addToSubjectFields(new TemplateSubjectField(
    121                                 name: 'Gender',type: TemplateFieldType.STRINGLIST, listEntries: ['Male','Female']))
     122                                name: 'Gender',type: TemplateFieldType.STRINGLIST,
     123                                listEntries: ['Male','Female']))
    122124                        .addToSubjectFields(new TemplateSubjectField(
    123125                                name: 'Age',type: TemplateFieldType.INTEGER))
Note: See TracChangeset for help on using the changeset viewer.