Hello All, I'm trying to set up a very simple search form. Most of my usergroup perusals have shown that it seems to be pretty straightforward, but for some reason this just won't work. When the search is sent, I recieve (via Firebug) a GML that, once saved into its own .xml on the server, works perfectly fine. For whatever reason, it just doesn't want to show up.
Here's the code: formPanel = new GeoExt.form.FormPanel({ title: "SEARCHBOX", region: "north", width: 300, height: 100, protocol: new OpenLayers.Protocol.WFS({ url: GeoserverWFS, version: "1.1.0", featureType: "plant_view", featureNS: "localparks", srsName: "EPSG:3734" }), items: [{ xtype: "textfield", name: "p_genus", value: "Acer", fieldLabel: "GENUS" }, { xtype: "textfield", name: "p_species", value: "saccharinum", fieldLabel: "SPECIES" } ], listeners: { actioncomplete: function(form, action) { // alert(action.response); } } }); formPanel.addButton({ text: "search", handler: function() { this.search(); }, scope: formPanel }); pretty standard code. I tried WFS 1.0.0. and 1.1.0. I tried playing around with WFS settings in GeoServer (changing SRS styles from XML to URN - which never changes the request.. changing featureMembers to featureMember...). The important thing is that I'm getting a proper GML Post from the search. I tried adding a blank vector layer to the eventlistener and adding bindings from a FeatureDataStore, but that wouldn't work either. Is there some basic setting in WFS that I am completely missing? Might this have to do with geoserver version (2.1.0)? Is there anything else I can do with the eventlistener to force a rendering of the response? Something with action.response written into a temp.xml? Thanks in advance for any insight.. ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users