Hi Jimmy,
You could use the onCommit function of the strategy to call your function var saveOptions = { onCommit: function(response) { if (response.success()) { var features=response.reqFeatures; // rest of the code originally in save strategy callYourOwnfunction(); } } }; Cheers kris From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Jimmy Aumard Sent: Tuesday, August 25, 2009 12:16 PM To: users@openlayers.org Subject: [OpenLayers-Users] Strategy.save() callback? Hi list, I want to know if Strategy.save() have a callback if the request is good or bad? Thanks Jim
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users