I'm thinking on something like this! Let me know if you have a better opinion or correct me if I'm wrong:
var_number = 9; // just an example function setDetails() { feats = pdv_nuevo.features; for(i = 0; i < feats.length; i++) { feats[i].attributes.COD_PULP = var_number; } } So I call this function before I save the changes like this: toolbar.addControl( new OpenLayers.Control.Button({ title: "Guardar", trigger: function() { setDetails(); saveStrategy.save(); } }),{ iconCls: 'salvar' }); What do you think?! ----- just another web developer -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Custom-save-values-WFS-tp5205068p5206279.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users