Thank you Gabriel,

I tried your suggestion, but I get an error saying that response.priv is null (and it exists, but is null when looking in firebug). Do I need to add something to the layer definition in order for this to work?

Regards,
Adrian

On 07/07/2010 12:22 PM, Gabriel Nolasco wrote:
Adrian,

Try something like this:

var saveStrategy = new OpenLayers.Strategy.Save({
  onCommit: function(response){
    if(response.success()) {
      alert(response.priv.responseText);
    }
  }
});

Best regards,
Gabriel Nolasco


_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to