WFS 1.1 writer for GetFeature does not support resultType attribute, r=ahocevar (closes #2449)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10269 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
bartvde
2010-05-03 19:20:40 +00:00
parent 4658d32b31
commit c7e840876c
2 changed files with 9 additions and 1 deletions

View File

@@ -102,6 +102,13 @@ OpenLayers.Format.WFST.v1_1_0 = OpenLayers.Class(
*/
writers: {
"wfs": OpenLayers.Util.applyDefaults({
"GetFeature": function(options) {
var node = OpenLayers.Format.WFST.v1.prototype.writers["wfs"]["GetFeature"].apply(this, arguments);
options && options.resultType && this.setAttributes(node, {
resultType: options.resultType
});
return node;
},
"Query": function(options) {
options = OpenLayers.Util.extend({
featureNS: this.featureNS,