The problem is that in the ticket about Save.js, you declared and trigger on
commit these two new events:
EVENT_TYPES: ["start","success", "fail"],
...
this.events.triggerEvent("success", evt);
In my client I have a layer, which is the listener of the event "success",
like this:
var saveStrategy = new OpenLayers.Strategy.Save();
wfs = new OpenLayers.Layer.Vector("Editable Features", {
strategies: [saveStrategy],
projection: new OpenLayers.Projection("EPSG:23031"),
styleMap: styles,
featureNS : "http://opengeo.org",
eventListeners: {
"success": savesuccess,
},
});
But this layer never receives the event, although the commit action takes
place correctly. I suppose I'm missing something, but I don't understand
what.
Thanks
--
View this message in context:
http://n2.nabble.com/Trigger-save-event-tp3301517p3307793.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev