<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Thank you Gabriel,<br>
<br>
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).<br>
Do I need to add something to the layer definition in order for this to
work?<br>
<br>
Regards,<br>
Adrian<br>
<br>
On 07/07/2010 12:22 PM, Gabriel Nolasco wrote:
<blockquote cite="mid:746338.2735.qm@web37105.mail.mud.yahoo.com"
 type="cite">
  <table cellpadding="0" cellspacing="0" border="0">
    <tbody>
      <tr>
        <td
 style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;"
 valign="top">Adrian,<br>
        <br>
Try something like this:<br>
        <br>
var saveStrategy = new OpenLayers.Strategy.Save({<br>
  onCommit: function(response){<br>
    if(response.success()) {<br>
      alert(response.priv.responseText);<br>
    }<br>
  }<br>
});<br>
        <br>
Best regards,<br>
Gabriel Nolasco<br>
        </td>
      </tr>
    </tbody>
  </table>
</blockquote>
<br>
</body>
</html>