Thanks Kris it's work perfectly!! Jim
2009/8/25 Kris Geusebroek <[email protected]> > 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:* [email protected] [mailto:[email protected]] > *On Behalf Of *Jimmy Aumard > *Sent:* Tuesday, August 25, 2009 12:16 PM > *To:* [email protected] > *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 [email protected] http://openlayers.org/mailman/listinfo/users
