You found a bug! We've classified it as TOUCH-2541 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #11
    Sencha User
    Join Date
    Mar 2011
    Location
    Boston MA
    Posts
    2
    Vote Rating
    0
    DrewPierce is on a distinguished road

      0  

    Default


    well that did not work i had many mods of the environment and just getting back to using sencha.

    what i wrote above would fire off the request but the response would not get picked up. i am using "sitebase api framework on codecanyon.net" ... worth the 30 bucks.

    it does not have a jsonp wrapper, just a json one so it tweaked it to wrap the callback function.

    and modified .htaccess like this:

    RewriteRule ^(.*)\.(json|xml|csv|txt|printr)$ endpoint.php?api_request=$1&api_response_type=$2 [QSA]

    and changed Api/Request.php to use strpos and not strrpos where the latter was finding the last occurance of a period not the first.

    and then calls like the following will work without any changes to sencha.

    http://www.mathpdq.com/api_drew_mod/v1/users/all.json?callback=Ext.data.jsonP.callback7


  2. #12
    Sencha User interfasys's Avatar
    Join Date
    Mar 2011
    Location
    UK & Switzerland
    Posts
    125
    Vote Rating
    1
    interfasys is on a distinguished road

      0  

    Default


    I found it easier to solve this with an override
    Code:
    Ext.apply(Ext.data.JsonP, {    request:function (options) {
            console.log('Override [' + Ext.getDisplayName(arguments.callee) + ']');
            
           YOUR MODIFIED CODE HERE   
        }
    });
    Olivier - interfaSys
    Developing custom solutions for BlackBerry 10 using Sencha Touch.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar