Hi list,

I'm having troubles with catching the success event, when saving a wfs
layer.
Saving and everything works fine, but I don't know, how to register/catch
this event!

here is some code:

saveStrategy = new OpenLayers.Strategy.Save();

var poly  = new OpenLayers.Layer.Vector( 'Flächen', {
        strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy ], 
        projection: gk, 
        styleMap: styles, 
        protocol: new OpenLayers.Protocol.WFS({ 
                version: '1.1.0', 
                srsName: 'EPSG:31467',
                url: '/geoserver/wfs', 
                featureNS :  'http://www.openplans.org/topp', 
                featureType: 'poly', 
                geometryName: 'the_geom'})
        });

and now there must be s.th. like this:

??.events.on({"success": message})
function message(event){...}

but i don't know what exactly to write

Hope someone can help me,
thanks Marco


-- 
View this message in context: 
http://n2.nabble.com/catch-the-safe-success-event-tp3654926p3654926.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to