← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6044: (patient) Data element list doesn't show in the selected program stage in Beneficiary Aggregation...

 

------------------------------------------------------------
revno: 6044
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-02-20 09:02:22 +0700
message:
  (patient) Data element list doesn't show in the selected program stage in Beneficiary Aggregation Query Builder module.
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/responsePSDataElement.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/responsePSDataElement.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/responsePSDataElement.vm	2012-03-01 08:09:34 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/responsePSDataElement.vm	2012-02-20 02:02:22 +0000
@@ -4,7 +4,11 @@
 		<dataelement>
 			<id>[DE:$psId.$dataElement.id]</id>
 			<name>$encoder.xmlEncode( $dataElement.name )</name>
-			<optionset>$!dataElement.optionSet.options</optionset>
+			<optionset>
+				#if( $!dataElement.optionSet.options )
+					$encoder.xmlEncode($!dataElement.optionSet.options.toString())
+				#end
+			</optionset>
 		</dataelement>	
 	#end
 </dataelements>
\ No newline at end of file