Hi my friends, I'm reading and writing vector feature attributes with OpenLayers using WFS 1.1.0 Protocol and got a problem as below.
As I found, when OpenLayers get feature attributes from server, GeoServer returns an XML content in which if a field of feature class is empty, returned XML does not list that field. So when I get value with that field (myfeature.attributes["field name of empty field"] ) will return undefined. And certainly, I can not assign value for that field. This is the same problem for new feature has just been added, I can not assign value for its fields. I think OpenLayers has some methods to do above jobs, but currently I do not know. I hope you will please to help me in this problems. Thanks for your time! -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Vector-Feature-Attributes-Problem-tp5620149p5620149.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
