How to Save data in xml file
Can anyone tell me how to save form field values in xml file.Is there any example as such.please let me know.
By default Ext posts simple name=value pairs.
If you want to post XML you should collect the form values, build your own XML and post the result using Ext.Ajax.request().
Or where you asking how to update a static XML file that was used as the source for a store?
For that you'll need an application server that processes the submitted data.
Work is in progress. So Application Server is available with it since it works with Internet Information Service i.e. IIS installed with it. I am using XML file to populate the grid data(and it is populated ,I think that if no Application server is available then it could not be populated) and with editor grid, I wanted to update the same xml file.
SO, Is there any example to update xml file with data changes.
Thanks and Regards
1. Create a database table that holds the data.
2. Create a servlet (sorry I'm a J2EE developer) that returns the data in XML (or JSON) format.
3. Create a servlet that handles submitted changes and writes these to the database.