dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #12119
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3643: added weekly values to csv datamart export
------------------------------------------------------------
revno: 3643
committer: Bob Joliffe <bobjolliffe@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-05-17 12:26:03 +0100
message:
added weekly values to csv datamart export
modified:
dhis-2/dhis-web/dhis-web-reporting/src/main/resources/struts.xml
--
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-reporting/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/resources/struts.xml 2011-04-15 14:37:44 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/resources/struts.xml 2011-05-17 11:26:03 +0000
@@ -379,8 +379,15 @@
<param name="requiredAuthorities">F_SCHEDULING_ADMIN</param>
</action>
- <!-- Export -->
-
+ <!-- Datamart CSV Export -->
+
+ <action name="weeklyDataValues" class="org.hisp.dhis.reporting.exp.ExportDataMartAction">
+ <result name="success" type="outputStreamResult" />
+ <result name="client-error" type="httpheader" />
+ <param name="requestType">DATAVALUE</param>
+ <param name="periodType">Weekly</param>
+ </action>
+
<action name="monthlyDataValues" class="org.hisp.dhis.reporting.exp.ExportDataMartAction">
<result name="success" type="outputStreamResult" />
<result name="client-error" type="httpheader" />
@@ -402,6 +409,13 @@
<param name="periodType">Yearly</param>
</action>
+ <action name="weeklyIndicatorValues" class="org.hisp.dhis.reporting.exp.ExportDataMartAction">
+ <result name="success" type="outputStreamResult" />
+ <result name="client-error" type="httpheader" />
+ <param name="requestType">INDICATORVALUE</param>
+ <param name="periodType">Weekly</param>
+ </action>
+
<action name="monthlyIndicatorValues" class="org.hisp.dhis.reporting.exp.ExportDataMartAction">
<result name="success" type="outputStreamResult" />
<result name="client-error" type="httpheader" />