[OpenLayers-Users] argument type for the save callback of SaveStratgy

Dave Potts dave.potts at pinan.co.uk
Tue Jul 26 19:02:08 EDT 2011


Hi list

I am trying to work out what type off information is supplied to the
success/fail callback functions of the saveSrategy.

Looking in the source code at line 229 of Save.js in openlayers 2.10
suggests that a response(i.e.OpenLayers.Protocol.Response)  style argument
should be expected.

But looking at the data supplied for the save callback function gives the
following types.


"response" value="[object Object]"
"object" value="[object Object]"
"element" value="null"
"type" value="success"

Which does not look like a OpenLayers.Protocol.Response object, any
suggestions as to what is going on here?



More information about the Users mailing list