lowmemory
04-17-2007, 05:22 AM
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
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