svn commit: r107 - trunk/mapbender/http/javascripts/mod_digitize_tab.php

christoph at osgeo.org christoph at osgeo.org
Wed Apr 19 11:06:21 EDT 2006


Author: christoph
Date: 2006-04-19 15:06:21+0000
New Revision: 107

Modified:
   trunk/mapbender/http/javascripts/mod_digitize_tab.php

Log:
wfs featuretype namespaces

Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_digitize_tab.php?view=diff&rev=107&p1=trunk/mapbender/http/javascripts/mod_digitize_tab.php&p2=trunk/mapbender/http/javascripts/mod_digitize_tab.php&r1=106&r2=107
==============================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php	(original)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php	2006-04-19 15:06:21+0000
@@ -1590,8 +1590,8 @@
 	for( var i=0; i<myform.length; i++){
 		if(myform.elements[i].type == 'text'){
 			D[m]['element'][cnt] = new Array();
-			D[m]['element'][cnt]['name'] =  myform.elements[i].name;
-			D[m]['element'][cnt]['val'] =  myform.elements[i].value;
+			D[m]['element'][cnt]['name'] = myform.elements[i].name;
+			D[m]['element'][cnt]['val'] = myform.elements[i].value;
 			cnt++;
 		}
 	}
@@ -1601,7 +1601,8 @@
 	var str = '<wfs:Transaction version="1.0.0" service="WFS" ';
 	
 	for (var q = 0 ; q < myconf['namespaces'].length ; q++) {
-		str += 'xmlns:' + myconf['namespaces'][q]['name'] + '="' + myconf['namespaces'][q][location] + '" ';
+		alert('xmlns:' + myconf['namespaces'][q]['name'] + '="' + myconf['namespaces'][q]['location'] + '" ');	
+		str += 'xmlns:' + myconf['namespaces'][q]['name'] + '="' + myconf['namespaces'][q]['location'] + '" ';
 	}
 	
 	str += 'xsi:schemaLocation="http://www.someserver.com/myns http://wms1.ccgis.de/geoserver-1.3-beta4/wfs/getCapabilities?request=describefeaturetype&amp;typename=mapbender_user http://www.opengis.net/wfs../wfs/1.0.0/WFS-transaction.xsd">';




More information about the Mapbender_commits mailing list