1. #11
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,521
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Looks like bug then. Could you test if the problem persists also with the latest SVN? If yes, I'd move this thread to bugs.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  2. #12
    Ext User
    Join Date
    Mar 2007
    Posts
    176
    Vote Rating
    0
    zquirm is on a distinguished road

      0  

    Default


    Thanks jsakalos

  3. #13
    Ext User
    Join Date
    Mar 2007
    Posts
    176
    Vote Rating
    0
    zquirm is on a distinguished road

      0  

    Default


    Stupid question, just because I've never done this in the forum...how do you move the thread?

  4. #14
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,521
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    I have some moderator privileges not available to users as I'm a Support Team member. I have a link to move threads.

    To original problem: Does the problem persists with the latest SVN?
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  5. #15
    Ext User
    Join Date
    Mar 2007
    Posts
    176
    Vote Rating
    0
    zquirm is on a distinguished road

      0  

    Default


    I see.

    Yes...after copying the necessary files from the SVN, the problem is still there.

  6. #16
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,833
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    I'm using the latest SVN version and not seeing the same issue. It seems as though Firefox is barfing when you put the version and encoding in (no idea why), however if I remove it, the code works fine:

    HTML
    Code:
    <body>
        <form id="foo">
            <input type="file" />
        </form>
    </body>
    CODE
    Code:
    Ext.onReady(function(){
        var btn = new Ext.Button({
            text: 'Foo',
            renderTo: document.body,
            handler: function(){
                Ext.Ajax.request({
                    url: 'data.asp',
                    isUpload: true,
                    form: Ext.getDom('foo'),
                    success: function(r){
                        console.log(r.responseXML);
                    }
                });     
            }
        });
    });
    RESPONSE
    Code:
    <% Response.ContentType = "text/xml" %>
    <rsp stat="ok">
      <doc_id>15345909</doc_id>
      <access_key>key-xxxxxxxxxxxxxxxxxxxxx</access_key>
    </rsp>
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  7. #17
    Ext User
    Join Date
    Mar 2007
    Posts
    176
    Vote Rating
    0
    zquirm is on a distinguished road

      0  

    Default


    Ah. That makes sense. Unfortunately, I'm using an API that I don't control so I can't alter the response with the version and encoding included.

    The browser is displaying the XML within the hidden iframe just fine, but it's not returning document information, which is how Ext is grabbing the response.

    Shouldn't there be a way to grab this chunk of text? Perhaps then I could parse it on my own.

  8. #18
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,521
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    It should appear in responseText although responseXML stays empty. Does it?
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  9. #19
    Ext User
    Join Date
    Mar 2007
    Posts
    176
    Vote Rating
    0
    zquirm is on a distinguished road

      0  

    Default


    No...that's what's weird.

    Code:
    responseText : ""

  10. #20
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,521
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    It really is because the code is:
    PHP Code:
                    if(doc && doc.body){
                        
    r.responseText doc.body.innerHTML;
                    }
                    if(
    doc && doc.XMLDocument){
                        
    r.responseXML doc.XMLDocument;
                    }else {
                        
    r.responseXML doc;
                    } 
    so either doc or doc.body is empty. It can depend also on header the server is returning. If you want to get responseText it should be "Content-Type: text/html; charset=utf-8".
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


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