- Timestamp:
- Jan 21, 2011, 7:37:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/exporter/ExporterController.groovy
r1222 r1426 210 210 println "----- SUBJECT -----" 211 211 for (u in 0..sample.parentSubject.giveFields().unique().size()-1){ 212 TemplateField tf = sample.parentSubject.giveFields().getAt(u)212 nl.grails.plugins.gdt.TemplateField tf = sample.parentSubject.giveFields().getAt(u) 213 213 println tf.name 214 214 row.createCell((short)9+u).setCellValue(tf.name) … … 221 221 println "----- SAMPLING EVENT -----" 222 222 for (t in 0..sample.parentEvent.giveFields().unique().size()-1){ 223 TemplateField tf =sample.parentEvent.giveFields().getAt(t)223 nl.grails.plugins.gdt.TemplateField tf =sample.parentEvent.giveFields().getAt(t) 224 224 println tf.name 225 225 row.createCell((short)9+sample.parentSubject.giveFields().unique().size()+t).setCellValue("samplingEvent-"+tf.name) … … 237 237 println "----- SAMPLE -----" 238 238 for (v in 0..sample.giveFields().unique().size()-1){ 239 TemplateField tf =sample.giveFields().getAt(v)239 nl.grails.plugins.gdt.TemplateField tf =sample.giveFields().getAt(v) 240 240 println tf.name 241 241 row.createCell((short)9+sample.parentSubject.giveFields().unique().size()+v+sample.parentEvent.giveFields().unique().size()).setCellValue("sample-"+tf.name)
Note: See TracChangeset
for help on using the changeset viewer.