1. #11
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,114
    Answers
    83
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    Well actually tobiu gave you the answer to look at this

    http://docs.sencha.com/ext-js/4-0/#!...-actionMethods

    You see that the default action for reading is the GET method. Your servlet wants a post.

  2. #12
    Sencha User
    Join Date
    Nov 2011
    Posts
    149
    Answers
    2
    Vote Rating
    1
    sachintaware is on a distinguished road

      0  

    Default


    ohhh!!! Anyways,thank you very much to both for the help.
    I need to go through the documentation more thoroughly it seems.

    Keep up the good work.

    Wish you good luck

    Thanks and Regards
    Sachin

  3. #13
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,681
    Answers
    130
    Vote Rating
    112
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    you are welcome. take a look at my last reply, it already pointed to the right location inside the docs.
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

  4. #14
    Sencha User
    Join Date
    Nov 2011
    Posts
    149
    Answers
    2
    Vote Rating
    1
    sachintaware is on a distinguished road

      0  

    Default Ext Js and Xml Schema

    Ext Js and Xml Schema


    @tvanzoelen @tobiu
    Hello
    In need of help again.
    Well I wanted to write a authentication mechanism using ext-js and xml schema.
    That is I will have a few users in an xml schema,with username and password
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <message success="true">
    <contact>
        <username>Admin</username>
        <password>Some encrypted password</password>
        .
        .(other fields)
        
    </contact>
    </message>
    What I want to implement is:
    1) Have a form to add a user,which on adding saves the username and password(encrypted) to the xml files.
    Encryption can be using standard base64 encoding using java.
    2) use the same username password to authenticate the user.i.e if the username password matches he is allowed to enter the application else not.How to check if the username posted from form matches the one in the xml file.


    Problem I am facing:
    I am able to read from xml files(referred to sample examples) but how to save them to the xml? Is it possible
    Can you point to some examples??

    Any help would be appreciated.

    Regards
    Sachin

  5. #15
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,114
    Answers
    83
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    Open a new thread plz for a new question. Else it would be difficult to find answers for people who are looking for it on the forum.

  6. #16
    Sencha User
    Join Date
    Nov 2011
    Posts
    149
    Answers
    2
    Vote Rating
    1
    sachintaware is on a distinguished road

      0  

    Default


    oops !!fine!!
    will do that!
    Here's the link!!!!!
    @tvanzoelen

    http://www.sencha.com/forum/showthre...268#post688268

    Thanks and Regards
    Sachin

Thread Participants: 2