Ignore:
Timestamp:
Apr 27, 2010, 3:53:06 PM (13 years ago)
Author:
roberth
Message:

Updated the template entities to be able to return domain fields, template fields and both.
Rolled back the change of Kees in the Event object, so the startTime and endTime fields returned.
Also updated the studies list with a new layout.

File:
1 edited

Legend:

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

    r375 r386  
    2323        //String ecCode
    2424
    25         Map giveDomainFields() {
    26                 return ['title':TemplateFieldType.STRING,'startDate':TemplateFieldType.DATE]
     25        List<DomainTemplateField> giveDomainFields() {
     26                [ new TemplateField(
     27                            name: 'title - niet opslaan!',
     28                            type: TemplateFieldType.STRING),
     29                        new TemplateField(
     30                            name: 'startDate',
     31                            type: TemplateFieldType.DATE) ];
    2732        }
    2833
Note: See TracChangeset for help on using the changeset viewer.