~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/responseDataElement.vm

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
 
 
3
#set($count1 = 0)
 
4
<dataElements>
 
5
#if($deOptionValue.equals("optioncombo"))
 
6
#foreach( $optionComboName in $optionComboNames )
 
7
        <dataElement>
 
8
                <id>$optionComboIds.get($count1)</id>
 
9
                <name>$encoder.xmlEncode( $optionComboName )</name>
 
10
        </dataElement>
 
11
    #set($count1 = $count1 + 1)
 
12
#end
 
13
#else
 
14
#foreach( $dataElement in $dataElements )
 
15
        <dataElement>
 
16
                <id>$dataElement.id</id>
 
17
                <name>$encoder.xmlEncode( $dataElement.name )</name>
 
18
        </dataElement>
 
19
#end
 
20
#end
 
21
</dataElements>
 
 
b'\\ No newline at end of file'