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

« back to all changes in this revision

Viewing changes to webservice/dhis-webservice-expoze/src/main/resources/jsonDataElements.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
#set( $size = $object.size() )
 
2
{ "dataElements": [
 
3
#foreach( $dataElement in $object )
 
4
  {
 
5
    "id": $!{dataElement.id},
 
6
    "name": "$!{dataElement.name}",
 
7
    "alternativeName": "$!{dataElement.alternativeNamee}",
 
8
    "shortName": "$!{dataElement.shortName}",
 
9
    "code": "$!{dataElement.code}",
 
10
    "description": "$!{dataElement.description}",
 
11
    "active": "$!{dataElement.active}",
 
12
    "type": "$!{dataElement.type}",
 
13
    "aggregationOperator": "$!{dataElement.aggregationOperator}"
 
14
  }#if( $velocityCount < $size ),#end
 
15
#end
 
16
] }