Changeset 962


Ignore:
Timestamp:
Oct 21, 2010, 1:17:42 PM (13 years ago)
Author:
j.a.m.wesbeek@…
Message:
  • assay page in the wizard did not properly displayed the required fields because the 'required' keyword was lacking in the domainFields
File:
1 edited

Legend:

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

    r959 r962  
    3131                new TemplateField(
    3232                        name: 'module',
    33                         type: TemplateFieldType.MODULE
    34 
     33                        type: TemplateFieldType.MODULE,
     34                        required: true
    3535                ),
    3636                new TemplateField(
    3737                        name: 'externalAssayID',
    38                         type: TemplateFieldType.STRING
     38                        type: TemplateFieldType.STRING,
     39                        required: true
    3940                )
    4041        ]
     
    4748
    4849        static constraints = {
    49                 externalAssayID(unique: true)
     50                externalAssayID(nullable:false, blank:false, unique: true)
    5051        }
    5152
Note: See TracChangeset for help on using the changeset viewer.