1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
    nishabenoy is on a distinguished road

      0  

    Default Extjs - setting data to texfield from xml file

    Extjs - setting data to texfield from xml file


    Hi everybody,
    I am very new to sencha architect and trying to set data to textfields from xml file.
    Can anyone help me to do this by using store and model.

    Thanks in advance.

    Nisha

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,266
    Vote Rating
    121
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    You can do this via a reader directly on the Form like the following example:
    http://dev.sencha.com/deploy/ext-4.1.../xml-form.html

    Or probably more commonly you can configure a Model with all of the fields/reader/etc and then set an instance of that Record to the Form using loadRecord.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Architect Dev Team
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    1
    jie.minwong is on a distinguished road

      1  

    Default


    Hi nishaboy,

    Check out the attached example. It demonstrates the use of model, store, and controller.


    Attached Files

  4. #4
    Sencha User
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
    nishabenoy is on a distinguished road

      0  

    Default


    Thank u a lot for ur help..

  5. #5
    Sencha User
    Join Date
    May 2012
    Posts
    12
    Vote Rating
    0
    ManjuRenjith is on a distinguished road

      0  

    Default


    Hi,


    Can it be possible to submit data to xml file by the same method ?


    Thanks in advance

    Manju