To be able to store data in GeoServer you must use WFS-T (WFS transactional, it's a profile of the OGC's WFS standard <a href="http://www.opengeospatial.org/standards/wfs">http://www.opengeospatial.org/standards/wfs</a>). OpenLayers provides support for that, see <a href="http://openlayers.org/dev/examples/wfs-protocol-transactions.html">http://openlayers.org/dev/examples/wfs-protocol-transactions.html</a> (take a look at the source, it's not about modifying attributes but creating-modifying geometries, but it's the same problem).<br>
In the downloaded package, in the examples folder, you can modify this same example to make it work against your own GeoServer.<br><br clear="all">Best regards,<br><br>Xurxo Méndez Pérez<br><br><a href="http://blog.sonxurxo.com/" target="_blank">http://blog.sonxurxo.com</a><div>
<a href="http://www.sonxurxo.com/" target="_blank">http://www.sonxurxo.com</a></div><br>
<br><br><div class="gmail_quote">2011/4/7 Mustafa646 <span dir="ltr"><<a href="mailto:noorcs22@gmail.com">noorcs22@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am developing application in OpenLayers and GeoServer. I have displayed a shapefile over Google Map. Now i want to change the attribute data of a polygon on clicking. I need, the changes should be made to the shapefile back at GeoServer as well. Is it possible ?, If yes, then How can i do this task.
need any help by putting some example code/link or some good suggestion ?
Best regards
        
<br><hr width="300" align="left">
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/How-to-modify-feature-s-attribute-data-tp6248950p6248950.html" target="_blank">How to modify feature's attribute data ?</a><br>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Users-f1822463.html" target="_blank">OpenLayers Users mailing list archive</a> at Nabble.com.<br><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></blockquote></div><br>