Hi,

The method that I used to save features to the server is

map.layers[2]commit();

Would this be an easier way to achieve your task ?

Regards,
Indika

2008/11/19 Christopher Schmidt <[EMAIL PROTECTED]>

> On Wed, Nov 19, 2008 at 09:55:48AM -0500, Alexandre Dube wrote:
> > Anybody correct me if I'm wrong :
> >
> > The example uses the Save Strategy to do so.  When the user draws a
> > feature, its state becomes "insert" or something like that.  When a
> > already present features gets modified, its state becomes "update" or
> > something like that.
> >
> > And there's a button that, on click, triggers the save() function of the
> > Save Strategy, check every features of the layer and generate a GML POST
> > INSERT request for new features and GML POST UPDATE request for modifed
> > features...
>
> ... What are you looking at, exactly? There is no such thing as a Save
> Strategy in trunk.
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to