dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20884
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9739: Data entry, using uids for history chart
------------------------------------------------------------
revno: 9739
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-02-05 17:46:36 +0200
message:
Data entry, using uids for history chart
modified:
dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/action/GetHistoryChartAction.java
dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/history.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-dataentry/src/main/java/org/hisp/dhis/de/action/GetHistoryChartAction.java'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/action/GetHistoryChartAction.java 2012-02-16 19:58:55 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/action/GetHistoryChartAction.java 2013-02-05 15:46:36 +0000
@@ -91,16 +91,16 @@
// Input
// -------------------------------------------------------------------------
- private Integer dataElementId;
+ private String dataElementId;
- public void setDataElementId( Integer dataElementId )
+ public void setDataElementId( String dataElementId )
{
this.dataElementId = dataElementId;
}
- private Integer categoryOptionComboId;
+ private String categoryOptionComboId;
- public void setCategoryOptionComboId( Integer categoryOptionComboId )
+ public void setCategoryOptionComboId( String categoryOptionComboId )
{
this.categoryOptionComboId = categoryOptionComboId;
}
=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/history.vm'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/history.vm 2013-02-05 15:43:30 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/history.vm 2013-02-05 15:46:36 +0000
@@ -78,7 +78,7 @@
<div class="historyHeader">$encoder.htmlEncode( $i18n.getString( "history_not_valid" ) )</div>
#else
<div class="historyHeader">$encoder.htmlEncode( $i18n.getString( "dataelement_history" ) )</div>
- <img id="historyChart" src="getHistoryChart.action?dataElementId=${dataElementHistory.dataElement.id}&categoryOptionComboId=${dataElementHistory.optionCombo.id}&organisationUnitId=${dataElementHistory.organisationUnit.id}&periodId=${periodId}"/>
+ <img id="historyChart" src="getHistoryChart.action?dataElementId=${dataElementHistory.dataElement.uid}&categoryOptionComboId=${dataElementHistory.optionCombo.uid}&organisationUnitId=${dataElementHistory.organisationUnit.id}&periodId=${periodId}"/>
#end
</td>
</tr>