← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 227: Added GetMapLegendSetAction class

 

------------------------------------------------------------
revno: 227
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Wed 2009-04-22 22:23:59 +0200
message:
  Added GetMapLegendSetAction class
modified:
  gis/dhis-web-mapping/src/main/resources/META-INF/dhis/beans.xml
  gis/dhis-web-mapping/src/main/resources/xwork.xml

=== modified file 'gis/dhis-web-mapping/src/main/resources/META-INF/dhis/beans.xml'
--- gis/dhis-web-mapping/src/main/resources/META-INF/dhis/beans.xml	2009-04-22 16:10:50 +0000
+++ gis/dhis-web-mapping/src/main/resources/META-INF/dhis/beans.xml	2009-04-22 20:23:59 +0000
@@ -102,6 +102,13 @@
       ref="org.hisp.dhis.mapping.MappingService"/>
   </bean>
   
+  <bean id="org.hisp.dhis.mapping.action.GetMapLegendSetAction"
+    class="org.hisp.dhis.mapping.action.GetMapLegendSetAction"
+    scope="prototype">
+    <property name="mappingService"
+      ref="org.hisp.dhis.mapping.MappingService"/>
+  </bean>
+  
   <!-- Indicator -->
     
   <bean id="org.hisp.dhis.mapping.action.GetAllIndicatorGroupsAction"

=== modified file 'gis/dhis-web-mapping/src/main/resources/xwork.xml'
--- gis/dhis-web-mapping/src/main/resources/xwork.xml	2009-04-22 16:10:50 +0000
+++ gis/dhis-web-mapping/src/main/resources/xwork.xml	2009-04-22 20:23:59 +0000
@@ -67,6 +67,10 @@
       <result name="success" type="velocity-json">/dhis-web-mapping/jsonminMapLegendSets.vm</result>
     </action>
         
+    <action name="getMapLegendSet" class="org.hisp.dhis.mapping.action.GetMapLegendSetAction">
+      <result name="success" type="velocity-json">/dhis-web-mapping/jsonMapLegendSet.vm</result>
+    </action>
+        
     <!-- Indicator -->
     
     <action name="getAllIndicatorGroups" class="org.hisp.dhis.mapping.action.GetAllIndicatorGroupsAction">



--
Trunk
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.