Ignore:
Timestamp:
Jun 10, 2010, 1:33:37 AM (13 years ago)
Author:
keesvb
Message:

added entity property to TemplateField?; added validator to Template to ensure fields are of the correct entity, updated BootStrap? accordingly, updated tests accordingly

File:
1 edited

Legend:

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

    r540 r550  
    518518                        // got a value?
    519519                        if (value) {
    520                                 println ".setting [" + ((super) ? super.class : '??') + "] domain field: [" + fieldName + "] ([" + value.toString() + "] of type [" + value.class + "])"
     520                                //debug message: println ".setting [" + ((super) ? super.class : '??') + "] domain field: [" + fieldName + "] ([" + value.toString() + "] of type [" + value.class + "])"
    521521
    522522                                // set value
    523523                                this[field.name] = value
    524524                        } else {
    525                                 println ".unsetting [" + ((super) ? super.class : '??') + "] domain field: [" + fieldName + "]"
     525                                //debug message: println ".unsetting [" + ((super) ? super.class : '??') + "] domain field: [" + fieldName + "]"
    526526
    527527                                // remove value. For numbers, this is done by setting
Note: See TracChangeset for help on using the changeset viewer.