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 http://www.opengeospatial.org/standards/wfs). OpenLayers provides support for that, see http://openlayers.org/dev/examples/wfs-protocol-transactions.html (take a look at the source, it's not about modifying attributes but creating-modifying geometries, but it's the same problem). In the downloaded package, in the examples folder, you can modify this same example to make it work against your own GeoServer.
Best regards, Xurxo Méndez Pérez http://blog.sonxurxo.com http://www.sonxurxo.com 2011/4/7 Mustafa646 <[email protected]> > 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 > ------------------------------ > View this message in context: How to modify feature's attribute data > ?<http://osgeo-org.1803224.n2.nabble.com/How-to-modify-feature-s-attribute-data-tp6248950p6248950.html> > Sent from the OpenLayers Users mailing list > archive<http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Users-f1822463.html>at > Nabble.com. > > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users > >
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
