<div>Thanks Eric.</div>
<div> </div>
<div>Wich version do I have to use to make the following example code work?</div>
<div> </div>
<div>I&#39;m getting this error when I use OpenLayers.Strategy.Save and OpenLayers.Protocol.WFS.</div>
<div> </div>
<div> </div>
<div>code:</div>
<div>wfs = new OpenLayers.Layer.Vector(&quot;Editable Features&quot;, {<br>                strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],<br>                projection: new OpenLayers.Projection(&quot;EPSG:4326&quot;),<br>
                protocol: new OpenLayers.Protocol.WFS({<br>                    version: &quot;1.1.0&quot;,<br>                    srsName: &quot;EPSG:4326&quot;,<br>                    url: &quot;<a href="http://demo.opengeo.org/geoserver/wfs">http://demo.opengeo.org/geoserver/wfs</a>&quot;,<br>
                    featureNS :  &quot;<a href="http://opengeo.org/">http://opengeo.org</a>&quot;,<br>                    featureType: &quot;restricted&quot;,<br>                    geometryName: &quot;the_geom&quot;,<br>
                    schema: &quot;<a href="http://demo.opengeo.org/geoserver/wfs/DescribeFeatureType?version=1.1.0&amp;typename=og:restricted">http://demo.opengeo.org/geoserver/wfs/DescribeFeatureType?version=1.1.0&amp;typename=og:restricted</a>&quot;<br>
                })<br>            }); </div>
<div><br><br> </div>
<div class="gmail_quote">2009/6/1 Eric Lemoine <span dir="ltr">&lt;<a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="h5">On Tuesday, June 2, 2009, Wesley &lt;<a href="mailto:wesmota@gmail.com">wesmota@gmail.com</a>&gt; wrote:<br>&gt; Hi folks,<br>&gt;<br>&gt; I&#39;m trying to use the WFS in openlayers, when I add the following code:<br>
&gt; var saveStrategy = new OpenLayers.Strategy.Save();<br>&gt;<br>&gt; I got an error message: &quot; OpenLayers.Strategy.Save is not a constructor&quot;.<br><br></div></div>You most probably don&#39;t use a version of OpenLayers that includes the strategy.<br>
<br>&gt;<br>&gt; it&#39;s wrong?<br>&gt;<br>&gt; Thanks!<br>&gt;<br>&gt;<br>&gt;<br><br>--<br>Eric Lemoine<br><br>Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex<br><br>Tel : 00 33 4 79 44 44 96<br>
Mail : <a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br><a href="http://www.camptocamp.com/" target="_blank">http://www.camptocamp.com</a><br></blockquote></div><br>