[OpenLayers-Users] Getting server output when using save
Adrian Popa
adrian_gh.popa at romtelecom.ro
Wed Jul 7 08:22:14 EDT 2010
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100707/cc26428f/attachment.html
More information about the Users
mailing list