-
11 Jul 2008 5:35 AM #11
That looks ilke the resposse is in error. So the submit hits the server?
The response must be Content-Type: text/html
It must be a valid JSON form submit response according to Ext.form.Action.Submit
You can examine the HTTP traffic with Fiddler - that's how I debugged my uploads.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
11 Jul 2008 5:43 AM #12
BTW: I have noticed that in Firefox 3.0 some widgets doesn't render properly, eg. grid in my application. So maybe the problem of aaaee2 is because of FF3.0. Have you tried your code with FF2.0?
-
11 Jul 2008 6:23 AM #13aaaee2Guest
So my code works well in FF-2.0... Now I shall burst into tears ..

But it not the solution, considering that corporate domain policy at my office does not give the option of a browser to choice for employees for which I develop my app. We use FF-3.0.
Is the Fiddler can capture only traffic coming through IE7 core? I install them, but can't see any movement in Web Sessions window when surf the web.
-
11 Jul 2008 6:42 AM #14
Hi all,
I have the same problem. I have a basic fileUpload Form (this is the code):
I'm using FF3 and IE7 and examining traffic with fiddler. There's no javascript erros but I cannot see the POST request of the submit action in the fiddler captured traffic. I'm missing something?Code:var fileField = new Ext.form.TextField({ id: 'sendSupplyFileFieldId', name: 'sendSupplyFileField', labelStyle: 'martin:5px;padding:5px;width:200px', inputType: 'file', border: false }); var formFile = new Ext.form.FormPanel({ id: 'sendSupplyFormFile', items: fileField, autoWidth: true, fileUpload: true, isUpload: true, url: "/send/supply", method: 'post', buttons: [ { text: 'Send', iconCls: 'btn-ico-enviar', handler: doPostSendSupply ] function doPostSendSupply(){ formFile.getForm().submit({ success: function (form, action) { alert( "success"); }, failure: function (form, action) { alert("failure"); } });}
-
11 Jul 2008 6:46 AM #15
You see all the other interaction in Fiddler, but just not that form submission?
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
11 Jul 2008 6:50 AM #16
Yes. I can see all the traffic (with FF3 and with IE7).
I have tried to changebut nothing changes.Code:method: 'POST', \\'post',
-
11 Jul 2008 7:32 AM #17
You'll have to step right into the guts of Ext then.
I had to do this too. Right into Ext.lib.Ajax. You'll see how it creates a temp iframe, changes the form's target, creates an onload handler for the iframe and submits the form.
Good old fashioned, line-by-line debugging.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
11 Jul 2008 7:40 AM #18
OK. I hope someday I can post the solution,

Thanks!
-
11 Jul 2008 8:47 AM #19
BTW: what about Ext "incompatibility" with FF3.0? Ext must be rewritten? Or maybe Firefox? :-) Animal, do you know anything about these issues?
-
11 Jul 2008 9:22 AM #20
It's fixed in SVN just waiting to be released. I don't know when they plan to do it.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642


Reply With Quote