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.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi