[OpenLayers-Users] Save strategy with WFS not working with programatically added features..

Lucas Heezen - Covadis heezen at covadis.nl
Thu Nov 10 11:18:12 EST 2011


Hello Tobias, 

Tried your page in IE9 and it saves the points. Maybe there is a Chrome problem? 
If you refresh the page you will see the points.


Met vriendelijke groet,
Lucas Heezen

Covadis b.v. 
t: 026 3616600 

Geograaf 12 
f: 026 3612317 

6921 EW Duiven 
e: heezen at covadis.nl



-----Oorspronkelijk bericht-----
Van: openlayers-users-bounces at lists.osgeo.org [mailto:openlayers-users-bounces at lists.osgeo.org] Namens Tobias Reinicke
Verzonden: donderdag 10 november 2011 17:09
Aan: users at openlayers.org
Onderwerp: [OpenLayers-Users] Save strategy with WFS not working with programatically added features..

Hi,

Basically what the subject says. I have created a page based very heavily on the wfs example, and it all works fine when the draw control is used.

However when I add a point to the layer programatically the Save strategy doesn't work.

http://defra.eodata.co.uk/toby/demos/wgs84/wfstest.html

example page there..

top buttons add points (yes, wrong icon I know), edits and deletes.

add point button adds a point to the 'wfs' layer, but then on save does not get written back to the db. I have looked at the call in chrome dev tools and none of the <WFS:insert> statements are coming through.

Any ideas,

Thanks,

Toby
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users


More information about the Users mailing list