Changeset 404
- Timestamp:
- May 11, 2010, 3:13:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy
r397 r404 614 614 615 615 // iterate through subject templates 616 flow.subjectTemplates.each() { 617 def subjectTemplate = it.getValue().template 618 def templateFields = subjectTemplate.fields 619 616 flow.subjectTemplates.each() { subjectTemplate -> 620 617 // iterate through subjects 621 it.getValue().subjects.each() { subjectId -> 622 // TODO: name uniqueness check has been removed to 'templated domain fields' changes... 623 624 // iterate through template fields 625 //templateFields.each() { subjectField -> 618 subjectTemplate.getValue().subjects.each() { subjectId -> 619 // iterate through fields (= template fields and domain properties) 626 620 flow.subjects[ subjectId ].giveFields().each() { subjectField -> 621 // set the field 627 622 flow.subjects[ subjectId ].setFieldValue( 628 623 subjectField.name,
Note: See TracChangeset
for help on using the changeset viewer.