Ignore:
Timestamp:
May 27, 2010, 8:36:24 AM (10 years ago)
Author:
keesvb
Message:

solved compilation error, added relative date type, restructured menu's, changed topnav layout to also scrolldown on click on main buttons

File:
1 edited

Legend:

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

    r397 r482  
    1616        STRINGLIST('List of items'),
    1717        ONTOLOGYTERM('Ontology Reference'),
    18         DATE('Date')
     18        DATE('Date'),
     19    RELDATE('Relative date') // relative date, e.g. days since start of study
    1920
    2021        String name
     
    2526
    2627        static list() {
    27                 [STRING, TEXT, INTEGER, FLOAT, DOUBLE, STRINGLIST, ONTOLOGYTERM, DATE]
     28                [STRING, TEXT, INTEGER, FLOAT, DOUBLE, STRINGLIST, ONTOLOGYTERM, DATE, RELDATE]
    2829        }
    2930
     
    4445                        case DATE:
    4546                                return null
     47            case RELDATE:
     48                return null
    4649                        default:
    4750                                throw new NoSuchFieldException("Field type ${fieldType} not recognized")
Note: See TracChangeset for help on using the changeset viewer.