Ignore:
Timestamp:
Apr 23, 2010, 11:26:57 AM (13 years ago)
Author:
keesvb
Message:

added giveDomainFields to TemplateEntity? entities, fixed some problems in BootStrap?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/TemplateField.groovy

    r359 r375  
    1818        List listEntries
    1919
    20     static hasMany = [listEntries : TemplateFieldListItem,
    21                 // to store the entries to choose from when the type is 'item from predefined list'
     20    static hasMany = [listEntries :
     21                TemplateFieldListItem, // to store the entries to choose from when the type is 'item from predefined list'
    2222                ontologies : Ontology // to store the ontologies to choose from when the type is 'ontology term'
    2323        ]
    2424       
    2525        static constraints = {
    26                 name(unique: true)
     26                // TODO: verify that TemplateField names are unique within templates of each super entity
    2727                unit(nullable: true, blank: true)
    2828                comment(nullable:true, blank: true)
Note: See TracChangeset for help on using the changeset viewer.