1. #1
    Ext User
    Join Date
    Apr 2007
    Posts
    5
    Vote Rating
    0
    lowmemory is on a distinguished road

      0  

    Default xml-form sample bug?

    xml-form sample bug?


    Hi,

    probably there is a bug in examples\form\xml-form.js (or a missing configuration in my IIS).
    release: Ext 1.0

    Loading xml data in xml-form.html fails because the default method is "POST".
    My IIS logs this error code:
    HTTP 405 - Resource not allowed

    I think that Posting to a static page is invalid. Getting is better.
    I'm wrong?

    current code:
    ...
    fs.addButton('Load', function(){
    fs.load({url:'xml-form.xml'});
    });
    ...

    fixed code (it works for me):
    ...
    fs.addButton('Load', function(){
    fs.load({url:'xml-form.xml', method:'GET'});
    });
    ...

    regards.

    Marco

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    For the sake of an example, posting is better. Otherwise, everyone who cut-n-pastes will be doing "GET" not knowing they should be using post.

    I do agree though that posting to a static resource doesn't make much sense.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

Thread Participants: 1

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