← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 251: Minor fix

 

------------------------------------------------------------
revno: 251
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Fri 2009-04-24 12:27:56 +0200
message:
  Minor fix
modified:
  gis/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/DeleteMapOrganisationUnitRelationsByMapAction.java

=== modified file 'gis/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/DeleteMapOrganisationUnitRelationsByMapAction.java'
--- gis/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/DeleteMapOrganisationUnitRelationsByMapAction.java	2009-04-24 10:20:52 +0000
+++ gis/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/DeleteMapOrganisationUnitRelationsByMapAction.java	2009-04-24 10:27:56 +0000
@@ -54,11 +54,11 @@
     // Input
     // -------------------------------------------------------------------------
 
-    private Integer id;
+    private String mapLayerPath;
 
-    public void setId( Integer id )
+    public void setMapLayerPath( String mapLayerPath )
     {
-        this.id = id;
+        this.mapLayerPath = mapLayerPath;
     }
 
     // -------------------------------------------------------------------------
@@ -67,7 +67,7 @@
 
     public String execute()
     {
-        Map map = mappingService.getMap( id );
+        Map map = mappingService.getMapByMapLayerPath( mapLayerPath );
         
         if ( map != null )
         {



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