I had a look to both of them but it is still not working. here is my code do have a look. <br>Problem is that whatever line, polygon and point i draw I do get a alert msg saying saved but as soon as I relod the application all the polygons, line or points vanishes. <br>
<br><div class="gmail_quote">On Thu, Oct 25, 2012 at 1:51 PM, Imran Rajjad [via OSGeo.org] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=5011122&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">

        Hi,
<br><br>Take a look at following
<br><br><a href="http://openlayers.org/dev/examples/wfs-protocol-transactions.html" rel="nofollow" link="external" target="_blank">http://openlayers.org/dev/examples/wfs-protocol-transactions.html</a><br><a href="http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html" rel="nofollow" link="external" target="_blank">http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html</a><br>
<br>regards,
<br>Imran
<br><br></div><div class="im">On Thu, Oct 25, 2012 at 9:41 AM, aaliya <<a href="http://user/SendEmail.jtp?type=node&node=5011121&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:
</div><div><div class="im"><div class='shrinkable-quote'><br>> hi,
<br>> I m newbie to open layers I have developed an application and in that I have
<br>> added WFS layers and options to draw point, polygon and line. Now I want to
<br>> save this polygon in database which is postgresql 9.0. i used save
<br>> strategy() but it doesn't save polygon to database. I am using openlayers
<br>> 2.12, geoserver and postgis 2.0.
<br>>
<br>> Basically I want to do WFS-T please guide how can I do this.
<br>>
<br>>
<br>>
<br>> --
<br>> View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/What-is-the-featurePrefix-tp5010713p5011044.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1560.n6.nabble.com/What-is-the-featurePrefix-tp5010713p5011044.html</a></div>
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
<br>> _______________________________________________
<br>> Users mailing list
<br></div>> <a href="http://user/SendEmail.jtp?type=node&node=5011121&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>> <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a></div><br><br><br>-- 
<br>I.R
<br>_______________________________________________
<br>Users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=5011121&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.n6.nabble.com/how-to-save-polygon-in-database-postgresql-tp5011044p5011121.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1560.n6.nabble.com/how-to-save-polygon-in-database-postgresql-tp5011044p5011121.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from how to save polygon in database (postgresql), <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards<br><br>Aditi Goyal<br>B.tech (EC) IV Year<br>Banasthali University<br><br>
<div class="small"><br/><img src="/images/icon_attachment.gif" > <strong>Aditi.js</strong> (51K) <a href="http://osgeo-org.1560.n6.nabble.com/attachment/5011122/0/Aditi.js" target="_top" rel="nofollow" link="external">Download Attachment</a></div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/how-to-save-polygon-in-database-postgresql-tp5011044p5011122.html">Re: how to save polygon in database (postgresql)</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/OpenLayers-Users-f3910695.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>