Results 1 to 2 of 2

Thread: How to simulate a PUT request with Ext.ux.ajax.SimManager?

  1. #1

    Join Date
    Sep 2008
    Posts
    145
    Answers
    4

    Default How to simulate a PUT request with Ext.ux.ajax.SimManager?

    Can someone point me out how to simulate a PUT request with Ext.ux.ajax.SimManager?
    GET requests are working well, but I can't find where can I configure PUT/DELETE/POST requests.

    I've created a small fiddle:
    https://fiddle.sencha.com/#view/editor&fiddle/2od6

    The second Ajax is a PUT an triggers an exception.
    Management means doing the things right,
    Leadership means doing the right things.
    www.interpid.eu

  2. #2

    Join Date
    Sep 2008
    Posts
    145
    Answers
    4

    Default

    Wow, I didn't expected this, the doPut method is not implemented in the Ext.ux.Ajax.Simlet class.

    I fixed this with the following code:

    Code:
    Ext.define('Ipd.override.Simlet', {
        override: 'Ext.ux.ajax.Simlet',
        doPut: function (ctx) {
            return this.handleRequest(ctx);
        }
    });
    Screenshot_234.jpg


    @Sencha: Could this be added in the framework?
    Management means doing the things right,
    Leadership means doing the right things.
    www.interpid.eu

Similar Threads

  1. Replies: 1
    Last Post: 11 Aug 2016, 2:04 PM
  2. Ext.ux.ajax.SimManager - delay is undefined
    By hermann.s in forum Ext: Q&A
    Replies: 4
    Last Post: 14 Mar 2016, 10:52 AM
  3. Ext.ux.ajax.SimManager on 6.x
    By fabricio.object in forum Ext JS 6.x Q&A
    Replies: 8
    Last Post: 2 Feb 2016, 12:33 PM
  4. Using Ext.ux.ajax.SimManager and Simlets
    By jhoweaa in forum Ext JS 6.x Q&A
    Replies: 2
    Last Post: 29 Aug 2015, 1:43 PM

Tags for this Thread

Posting Permissions

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