Ignore:
Timestamp:
Jan 21, 2011, 7:37:02 PM (10 years ago)
Author:
work@…
Message:
  • Resolved part of improvement #225
  • refactored the template model out of GSCF into the GDT (Grails Domain Templates) plugin version 0.0.1
  • still work needs to be done (move template editor into gdt, etcetera)
  • fix template owner
  • some methods are missing from Template, but most of it works
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/studycapturing/StudyWizardController.groovy

    r1392 r1426  
    77import dbnp.authentication.SecUser
    88import org.codehaus.groovy.grails.plugins.web.taglib.ValidationTagLib
     9import nl.grails.plugins.gdt.*
    910
    1011/**
     
    15521553                                                                def samplingEventName = ucwords(event.template.name)
    15531554                                                                def eventGroupName = ucwords(eventGroup.name).replaceAll("([ ]{1,})", "")
    1554                                                                 def sampleName = (ucwords(subject.name) + '_' + samplingEventName + '_' + eventGroupName + '_' + new RelTime(event.startTime).toString()).replaceAll("([ ]{1,})", "")
     1555                                                                def sampleName = (ucwords(subject.name) + '_' + samplingEventName + '_' + eventGroupName + '_' + new nl.grails.plugins.gdt.RelTime(event.startTime).toString()).replaceAll("([ ]{1,})", "")
    15551556                                                                def tempSampleIterator = 0
    15561557                                                                def tempSampleName = sampleName
     
    16481649                                                        def samplingEventName = ucwords(samplingEvent.template.name)
    16491650                                                        def eventGroupName = ucwords(eventGroup.name)
    1650                                                         def sampleName = (ucwords(subject.name) + '_' + samplingEventName + '_' + eventGroupName + '_' + new RelTime(samplingEvent.startTime).toString()).replaceAll("([ ]{1,})", "")
     1651                                                        def sampleName = (ucwords(subject.name) + '_' + samplingEventName + '_' + eventGroupName + '_' + new nl.grails.plugins.gdt.RelTime(samplingEvent.startTime).toString()).replaceAll("([ ]{1,})", "")
    16511652                                                        def tempSampleIterator = 0
    16521653                                                        def tempSampleName = sampleName
Note: See TracChangeset for help on using the changeset viewer.