Results 1 to 2 of 2

Thread: (Modern) JSON submit using formpanel

  1. #1
    Sencha User
    Join Date
    Jan 2014
    Posts
    3

    Default (Modern) JSON submit using formpanel

    Hello all, I have a question regarding ExtJS 6 Modern (and I post on this forum because I use Architect almost exclusively).

    On previous versions you could set jsonSubmit as true in formpanel in order to send your params as json, however this isn't the case in Modern. Is there a workaround/override I can use to do this?

    I know I can use Ext.Ajax to make a request, but I really like the formpanel implementation because of the event managing... It'd be great if it could be done.

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962
    Answers
    55

    Default

    Hi--,

    You might take a look at this article, minus being in Sencha Architect, seem relevant to adding the missing functionality.

    http://alvinalexander.com/javascript...-post-examples

    Let me know if that helps, I can then file a feature request to add this to the Modern toolkit.

    Best!
    Bryan

Similar Threads

  1. FormPanel submit JSON
    By rynam0 in forum Ext GWT: Q&A
    Replies: 5
    Last Post: 3 Nov 2011, 6:16 AM
  2. Replies: 44
    Last Post: 22 Jul 2011, 6:56 PM
  3. formpanel correct submit ajax/json result
    By SvenWS in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 21 Sep 2010, 3:58 PM
  4. Is there any way to get a FormPanel to submit JSON?
    By Ranma13 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 4 Feb 2010, 4:17 AM
  5. FormPanel submit response as json format
    By venu in forum Ext GWT: Help & Discussion (1.x)
    Replies: 2
    Last Post: 16 Feb 2009, 11:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •