-1

I am building a map web app using geoext-3 and extjs-6. I managed to create a editor grid to edit the attributes of features I have in Geoserver. However when I click on update button the value did not changed and returned back to the previous value.

Is there any common mistake I made and caused this problem?

closed as off-topic by PolyGeo Apr 30 '18 at 8:13

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

1

I assume you are using OpenLayers 3.

You could use WFS-T to request to Geoserver to change data as described in a blog post titled WFS-T with OpenLayers 3.16:

  • can we use store.sync() method to update the attributes that are modified – Omran Mar 30 '16 at 2:48
  • You still need to write customized WFS-T functions in store.sync(). geoext-3 and extjs-6 not provide functions to deal with geoserver at this moment. – Muke Mar 30 '16 at 4:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.