1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Location
    Mumbai, India
    Posts
    191
    Answers
    10
    Vote Rating
    0
    bomslang has a little shameless behaviour in the past

      0  

    Exclamation Unanswered: ExtJS 4.1 + Spring REST Simple Form Submission Example ?

    Unanswered: ExtJS 4.1 + Spring REST Simple Form Submission Example ?


    Folks,

    I am trying out some form submission to database code using ExtJS 4.1 and Spring REST at the backend.
    While I was able to retrieve the data from database using REST and bind it to gridpanel, I am unable to submit new entries to database using a form.

    I am submitting the form to a REST url, but it throws me exception shown below

    message: /feedback/newFeedback.action
    description The requested resource (/feedback/newFeedback.action) is not available.

    So, could anyone please point me to one example of ExtJS form submission using Spring REST at the backend ?



    Thanks


    --
    Bomslang,
    Software Engineer,
    HTML5 Developer | ExtJS, Sencha Touch, GXT Passionate | Json Supporter

    Twitter : @bomslang

    ----------------------------------------------------------------------------------

    # Learn about Sencha Products via it's Documentation : ExtJS | Sencha Touch | GXT

    # Check for correct Json here : JSONLint.com

    # Want to code Sencha Touch Online ? Try SenchaFiddle.com

    # Want to code and test ExtJS Online ? Try http://ext4all.com/ & http://jsfiddle.net/

    # Must Read : 20 things to avoid / do when starting with ExtJS or Sencha Touch

  2. #2
    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


    Try to pass the property method in the submit function

    Code:
    form.submit({ method: 'GET' });

Thread Participants: 1

Tags for this Thread