Ignore:
Timestamp:
Apr 27, 2010, 9:13:47 AM (9 years ago)
Author:
keesvb
Message:

FINALLY found a possible way to integrate the domain fields as TemplateFields?, see Event. Also added required attribute for template fields.

File:
1 edited

Legend:

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

    r381 r384  
    1414abstract class TemplateEntity implements Serializable {
    1515        Template template
     16        static List systemFields
    1617        Map templateStringFields = [:]
    1718        Map templateTextFields = [:]
     
    3132                templateDoubleFields: double,
    3233                templateDateFields: Date,
    33                 templateTermFields: Term
     34                templateTermFields: Term,
     35                systemFields: TemplateField
    3436        ]
    3537
     
    353355        }
    354356
     357        def List<TemplateField> giveSystemFields() {
     358                return systemFields;
     359        }
     360       
     361
    355362        /**
    356363         * Return all relevant 'built-in' domain fields of the super class
Note: See TracChangeset for help on using the changeset viewer.