Changeset 1488

Show
Ignore:
Timestamp:
03-02-11 16:46:41 (3 years ago)
Author:
work@…
Message:

- moved biological parts of gdt into a sub-plugin bgdt (biological grails domain templates) which extends gdt
- refactored dynamic validators in gdt
- installed bgdt 0.0.2
- installed gdt 0.0.8

Location:
trunk
Files:
1 removed
11 modified

Legend:

Unmodified
Added
Removed
  • trunk/application.properties

    r1468 r1488  
    11#Grails Metadata file 
    2 #Tue Feb 01 15:44:54 CET 2011 
     2#Thu Feb 03 16:39:44 CET 2011 
    33app.build.display.info=0 
    44app.build.svn.revision=1079 
     
    1010app.version=0.6.4 
    1111plugins.ajaxflow=0.1.19 
     12plugins.bgdt=0.0.2 
    1213plugins.crypto=2.0 
    1314plugins.db-util=0.4 
    1415plugins.famfamfam=1.0.1 
    15 plugins.gdt=0.0.7 
     16plugins.gdt=0.0.8 
    1617plugins.grom=0.2.2 
    1718plugins.hibernate=1.3.6 
  • trunk/grails-app/conf/BootStrap.groovy

    r1459 r1488  
    33import org.codehaus.groovy.grails.commons.GrailsApplication 
    44import org.dbnp.gdt.* 
     5import org.dbnp.bgdt.* 
    56import dbnp.studycapturing.Study 
    67import dbnp.studycapturing.Subject 
  • trunk/grails-app/conf/BootStrapStudies.groovy

    r1456 r1488  
    1111import dbnp.studycapturing.* 
    1212import org.dbnp.gdt.* 
     13import org.dbnp.bgdt.* 
    1314import org.codehaus.groovy.grails.commons.GrailsApplication 
    1415import grails.util.GrailsUtil 
  • trunk/grails-app/conf/BootStrapTemplates.groovy

    r1456 r1488  
    1111import dbnp.studycapturing.* 
    1212import org.dbnp.gdt.* 
     13import org.dbnp.bgdt.* 
    1314import org.codehaus.groovy.grails.commons.GrailsApplication 
    1415 
  • trunk/grails-app/conf/BuildConfig.groovy

    r1430 r1488  
    4747//grails.plugin.location.'ajaxflow' = '../ajaxflow' 
    4848//grails.plugin.location.'gdt' = '../gdt' 
     49//grails.plugin.location.'bgdt' = '../bgdt' 
    4950//grails.plugin.location.'jumpbar' = '../jumpbar' 
  • trunk/grails-app/controllers/dbnp/studycapturing/StudyWizardController.groovy

    r1457 r1488  
    66import org.codehaus.groovy.grails.plugins.web.taglib.ValidationTagLib 
    77import org.dbnp.gdt.* 
     8import org.dbnp.bgdt.* 
    89 
    910/** 
     
    11001101                        on("toPageFive").to "assays" 
    11011102                        on("toPageSix").to "confirm" 
    1102                         on("toPageSeven").to "save"             } 
     1103                        on("toPageSeven").to "save" 
     1104                } 
    11031105 
    11041106                // render finish page 
  • trunk/grails-app/domain/dbnp/studycapturing/Sample.groovy

    r1482 r1488  
    11package dbnp.studycapturing 
    22import org.dbnp.gdt.* 
     3import org.dbnp.bgdt.* 
    34 
    45/** 
  • trunk/grails-app/domain/dbnp/studycapturing/Study.groovy

    r1482 r1488  
    5353 
    5454        static constraints = { 
     55                title(nullable:false, blank: false, maxSize: 255) 
    5556                owner(nullable: true, blank: true) 
    56                 code(nullable: false, blank: true, unique: true) 
    57                 studyUUID(nullable:true, unique:true) 
     57                code(nullable: false, blank: true, unique: true, maxSize: 255) 
     58                studyUUID(nullable:true, unique:true, maxSize: 255) 
    5859                // TODO: add custom validator for 'published' to assess whether the study meets all quality criteria for publication 
    5960                // tested by SampleTests.testStudyPublish 
  • trunk/grails-app/domain/dbnp/studycapturing/Subject.groovy

    r1457 r1488  
    11package dbnp.studycapturing 
    22import org.dbnp.gdt.* 
     3import org.dbnp.bgdt.* 
    34 
    45/** 
  • trunk/grails-app/taglib/dbnp/studycapturing/WizardTagLib.groovy

    r1461 r1488  
    33import dbnp.authentication.SecUser 
    44import org.dbnp.gdt.* 
     5import org.dbnp.bgdt.* 
    56 
    67/** 
  • trunk/web-app/js/studywizard.js

    r1374 r1488  
    251251 
    252252        $.ajax({ 
    253                 url      : baseUrl + '/wizard/ajaxParseRelTime?reltime=' + inputfield.value, 
     253                url      : baseUrl + '/studyWizard/ajaxParseRelTime?reltime=' + inputfield.value, 
    254254                success : successFunc, 
    255255                error   : errorFunc