Ignore:
Timestamp:
Aug 12, 2010, 12:41:10 PM (13 years ago)
Author:
duh
Message:
  • added a new TemplateEntity? type: Template
  • added a required 'sampleTemplate' domain field to SamplingEvent? domain class
  • the sampleTemplate is now used to initially generate samples in the wizard's sample page
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/taglib/dbnp/studycapturing/WizardTagLib.groovy

    r795 r803  
    10271027                                                ){helpText}
    10281028                                                break
     1029                                        case ['TEMPLATE']:
     1030                                                inputElement = (renderType == 'element') ? 'templateElement' : 'templateSelect'
     1031                                                out << "$inputElement"(
     1032                                                        description: ucName,
     1033                                                        name: prependName + it.escapedName(),
     1034                                                        addDummy: true,
     1035                                                        entity: it.entity,
     1036                                                        value: fieldValue
     1037                                                ){helpText}
     1038                                                break
    10291039                                        default:
    10301040                                                // unsupported field type
Note: See TracChangeset for help on using the changeset viewer.