- Timestamp:
- Jan 31, 2011, 1:27:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/exporter/ExporterController.groovy
r1430 r1456 16 16 17 17 import dbnp.studycapturing.* 18 import org.dbnp.gdt.* 18 19 19 20 import org.apache.poi.hssf.util.HSSFColor … … 210 211 println "----- SUBJECT -----" 211 212 for (u in 0..sample.parentSubject.giveFields().unique().size()-1){ 212 nl.grails.plugins.gdt.TemplateField tf = sample.parentSubject.giveFields().getAt(u)213 TemplateField tf = sample.parentSubject.giveFields().getAt(u) 213 214 println tf.name 214 215 row.createCell((short)9+u).setCellValue(tf.name) … … 221 222 println "----- SAMPLING EVENT -----" 222 223 for (t in 0..sample.parentEvent.giveFields().unique().size()-1){ 223 nl.grails.plugins.gdt.TemplateField tf =sample.parentEvent.giveFields().getAt(t)224 TemplateField tf =sample.parentEvent.giveFields().getAt(t) 224 225 println tf.name 225 226 row.createCell((short)9+sample.parentSubject.giveFields().unique().size()+t).setCellValue("samplingEvent-"+tf.name) … … 237 238 println "----- SAMPLE -----" 238 239 for (v in 0..sample.giveFields().unique().size()-1){ 239 nl.grails.plugins.gdt.TemplateField tf =sample.giveFields().getAt(v)240 TemplateField tf =sample.giveFields().getAt(v) 240 241 println tf.name 241 242 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.