-
24 Jul 2008 10:49 PM #421
Thanks for your reply!
Sorry, struts is a java MVC framework.
I have to know the name of the file input tag in java for saving the uploaded file. So I modified the source code.
-
25 Jul 2008 12:47 PM #422
I just came across this issue when trying the UploadPanel demo on Saki's site (http://filetree.extjs.eu/) using IE6.
If I add a file to the UploadPanel and before I upload the file I select to remove it, the 'Add' button disappears and there doesn't appear to be a way to get it back.
If I just add the file and then upload it to the server, this issue doesn't appear to be happening.
Sorry if this issue has been previously raised.
-
29 Jul 2008 9:00 AM #423
Ext.ux.FileUploader (singleUpload = true context), line 321:
If I start uploading a file (record.state = 'uploading') and in a few moments I start uploading another one, in the second call also records with state = 'uploading' gets uploaded.Code:records = this.store.queryBy(function(r){return 'done' !== r.get('state');});
What about if line 321 would look like this:
or maybeCode:records = this.store.queryBy(function(r){return 'queued' === r.get('state');});
Code:records = this.store.queryBy(function(r){ var state = r.get('state'); return 'done' !== state && 'uploading' !== state; });Iulian
-
29 Jul 2008 12:59 PM #424
Sorry, I don't get what the problem is.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
29 Jul 2008 1:32 PM #425
Concurrency.
All records but the ones that have state 'done' are selected for upload. Let me know if you need an example.
EDIT
Some more details, maybe helps in understanding the issue:
1. start uploading a file
2. before file mentioned at point 1. finished uploading select another file and start upload this one
3. after all uploads are finished observe the results: file at point 1. was uploaded twice.Iulian
-
29 Jul 2008 1:45 PM #426
I see. This your version I take:
PHP Code:records = this.store.queryBy(function(r){
var state = r.get('state');
return 'done' !== state && 'uploading' !== state;
});
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
29 Jul 2008 7:31 PM #427
Hi, jsakalos
I use the original filetree client, it's uploadCallback function is still not invoked by using my simple java server.
Firefox and IE7 pop up a file downloading dialog to download the returned json data.
The downloaded json data file is below:
{"error":"Error","success":false}
Thanks!
-
30 Jul 2008 12:33 AM #428
What is Content-Type header?
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
30 Jul 2008 8:06 AM #429
I hate to barge in an existing support conversation, but I was just curious if anyone has noticed the following issue in FF3 (could happen in other browsers too) :
After a file is uploaded via the UploadPanel , you will see the browser remain in a "transferring data" status. Im assuming the connection is not closed properly or is stuck in a loop somewhere.
I would try to pinpoint this myself but I am trying to meet a deadline with a project and I need to get other sections done atm.
Your help is always appreciated
-
30 Jul 2008 8:30 AM #430
Does it happen only with UploadPanel or also with standard Ext upload?
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video


Reply With Quote