Hi List,
After reading
this thread about troubleshooting this problem, I have still problems registering the success-event when saving changes of a vectorlayer.
following message is given by the firebug:
"saveStrategy.events is undefined"
this is my code:
saveStrategy = new OpenLayers.Strategy.Save();
saveStrategy.events.register("success", saveStrategy, ausgabe);
or saveStrategy.events.on("success": ausgabe);
the
API says that the event can be registered like this:
protocol.events.register(type, obj, listener);
shall I call the function register() with a protocol-object and not with the Strategy.Save-object?
And when I'm right about that, how can I do this?
cheers, Marco