[mapguide-commits] r4665 - in sandbox/rfc71: mapviewerjava mapviewernet

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Mar 15 06:54:06 EDT 2010


Author: jng
Date: 2010-03-15 06:54:04 -0400 (Mon, 15 Mar 2010)
New Revision: 4665

Modified:
   sandbox/rfc71/mapviewerjava/getselectedfeatures.jsp
   sandbox/rfc71/mapviewernet/getselectedfeatures.aspx
Log:
#1053: Write the display name of the feature property instead of the actual property name (as per the PHP implementation)

Modified: sandbox/rfc71/mapviewerjava/getselectedfeatures.jsp
===================================================================
--- sandbox/rfc71/mapviewerjava/getselectedfeatures.jsp	2010-03-15 10:49:21 UTC (rev 4664)
+++ sandbox/rfc71/mapviewerjava/getselectedfeatures.jsp	2010-03-15 10:54:04 UTC (rev 4665)
@@ -398,7 +398,7 @@
                                 if (mappings.get(propName) != null)
                                 {
                                     FeatureProperty fp = new FeatureProperty();
-                                    fp.Name = propName;
+                                    fp.Name = mappings.get(propName);
                                     fp.Value = value;
 
                                     feat.addProperty(fp);

Modified: sandbox/rfc71/mapviewernet/getselectedfeatures.aspx
===================================================================
--- sandbox/rfc71/mapviewernet/getselectedfeatures.aspx	2010-03-15 10:49:21 UTC (rev 4664)
+++ sandbox/rfc71/mapviewernet/getselectedfeatures.aspx	2010-03-15 10:54:04 UTC (rev 4665)
@@ -340,7 +340,7 @@
                                 if (mappings[propName] != null)
                                 {
                                     FeatureProperty fp = new FeatureProperty();
-                                    fp.Name = propName;
+                                    fp.Name = mappings[propName];
                                     fp.Value = value;
 
                                     feat.AddProperty(fp);



More information about the mapguide-commits mailing list