1. #1
    Ext User
    Join Date
    Jul 2008
    Posts
    175
    Vote Rating
    0
    AmitOlsys is on a distinguished road

      0  

    Question How to Save data in xml file

    How to Save data in xml file


    Dear All,
    Can anyone tell me how to save form field values in xml file.Is there any example as such.please let me know.

    Thanks
    AmitOlsys

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    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().

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    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.

  4. #4
    Ext User
    Join Date
    Jul 2008
    Posts
    175
    Vote Rating
    0
    AmitOlsys is on a distinguished road

      0  

    Default


    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
    AmitOlsys

  5. #5
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    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.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar