I have published a WFS-T layer (using geoserver) and am able to add, edit and delete features using OpenLayers and it's Vector layer.
But, I don't know how can I populate additional attributes using OpenLayers and WFS-T. Any pointers? Let's say I have database structure: ARMY ( ID NUMBER PRIMARY KEY, NAME VARCHAR2(200)); INVADED_AREA ( ID NUMBER PRIMARY KEY, INVADED_BY_ARMY_ID NUMBER NOT NULL, AREA_GEOMETRY SDO_GEOMETRY, CONSTRAINT ia_fk FOREIGN KEY(INVADED_BY_ARMY_ID) REFERENCES ARMY(ID)); and I have a web application where you first select an army (with e.g. ID 42) and then start drawing geometries of invaded areas using OpenLayers. How do I get OpenLayers to put value 42 into INVADED_AREA.INVADED_BY_ARMY_ID column? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/How-do-I-set-attributes-when-creating-vectors-using-WFS-T-tp5015040.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
