[OpenLayers-Users] Ajax delete

Yves Moisan yves.moisan at boreal-is.com
Mon Dec 22 09:19:17 EST 2008


Hi Eric,

> If you use OpenLayers.Protocol.HTTP, which I'd recommend you do, you
> won't need to use OpenLayers.Request yourself. 

That's what I'm using.  It's just that I've managed to do "CRU" with the
examples I saw lying around (all using OpenLayers.Ajax.Request) and the
"D" un CRUD I can't manage.  The question is : is there an equivalent to
something like :


I wonder how examples could be tagged to better convey how they apply to
the current release of OpenLayers?  One thing that would definitely be
needed is a publishing date.  People would probably expect a 2 year-old
example to not reflect the current state of best practices.  Example
tagging an/or updating could be an interesting sprint activity.


> Although I've never
> tested Protocol.HTTP against FeatureServer I'm pretty confident it'll
> work, and if it doesn't I'll be happy to help with that.


> 
> Cheers,
> 
> Eric
> 
> 2008/12/19, Yves Moisan <yves.moisan at boreal-is.com>:
> >
> >> Don't use Ajax.js. Use OpenLayers.Request.
> >>
> >> http://trac.openlayers.org/wiki/Request
> >
> > Right.  I saw this is new in 2.7.  I'd prefer an example than to fiddle
> > with Request.issue ... Method=DELETE or request.DELETE.
> >
> > I'm now at 2/4 into the Crockford series ;-)
> >
> > Cheers,
> >
> > Yves
> >
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >




More information about the Users mailing list