source: trunk/grails-app/domain/dbnp/studycapturing/DomainTemplateField.groovy @ 386

Last change on this file since 386 was 386, checked in by roberth, 13 years ago

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 size: 580 bytes
Line 
1/**
2 * TemplateField instance for built-in domain fields of templateentities.
3 * This object will not be persisted in the database
4 *
5 * @author  roberth
6 * @since   20100427
7 * @package dbnp.studycapturing
8 *
9 * Revision information:
10 * $Rev$
11 * $Author$
12 * $Date$
13 */
14package dbnp.studycapturing
15
16class DomainTemplateField extends TemplateField {
17    // There seems to be no way to override the save method
18    // By creating a validator that returns false always, this item will never
19    // be saved
20    static constraints = {
21        name(validator: {return false} )
22    }
23}
Note: See TracBrowser for help on using the repository browser.