#14085 closed defect (wontfix)
dojo 1.6 Fileuploader doesn't work in tabcontainer
Reported by: | skquentin | Owned by: | Mike Wilcox |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | DojoX Form | Version: | 1.6.1 |
Keywords: | fileuploader uploader | Cc: | |
Blocked By: | Blocking: |
Description
Hi: I used fileuploader in tabcontainer, it works well in dojo 1.5, when I switch to dojo 1.6.1, it doesn't work. I find the comments from 23544(Fixes #11039 - removed detection of hidden widgets. Note that the FileUploader?? will no longer function without help in a node or widget that is initially hidden. Suggested to use dojox.form.Uploader from here out). I try to replace fileuploader with Uploader, but the uploader doesn't support some operations such as remove the selected file, what should I do?
Change History (9)
comment:1 Changed 9 years ago by
Component: | General → DojoX Form |
---|---|
Owner: | set to Mike Wilcox |
comment:2 Changed 9 years ago by
comment:3 Changed 9 years ago by
Priority: | high → normal |
---|
comment:4 follow-up: 5 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
The workaround is to not put the FileUploader? *in* the TabContainer?, but to float it *above* the TabContainer?. Connect to that tab's hide/show, and move the FileUploader? off the screen with style=left:-2000px, or something similar. You cant hide it, that resets the SWF.
comment:5 Changed 9 years ago by
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
Replying to mwilcox:
The workaround is to not put the FileUploader? *in* the TabContainer?, but to float it *above* the TabContainer?. Connect to that tab's hide/show, and move the FileUploader? off the screen with style=left:-2000px, or something similar. You cant hide it, that resets the SWF.
Sorry I forgot to hightlight that I use html style, not use flex. this fileuploader not only exists in tab container but also in dialog widget, would you please describe it in detail how to walk around it? Thanks a lot.
comment:6 follow-up: 7 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
It was too difficult and sometimes impossible to predict how devs would use FileUploader?. It worked at one point in Tabs and Dialog boxes, and then a Dojo revision broke it. I'd get that to work and then someone would want to implement it in a slightly different way that broke it again.
The problems you are experiencing are exactly why I abandoned FileUploader? and created Uploader. I'm sorry, but it's no longer supported, because I couldn't get it to do what you are trying to do.
My suggestion is to take it out of the Tabs and Dialog boxes.
You can continue to leave comments here but please don't reopen the ticket. Please make suggestions for Uploader instead and those tickets will be honored.
comment:7 Changed 9 years ago by
Replying to mwilcox:
It was too difficult and sometimes impossible to predict how devs would use FileUploader?. It worked at one point in Tabs and Dialog boxes, and then a Dojo revision broke it. I'd get that to work and then someone would want to implement it in a slightly different way that broke it again.
The problems you are experiencing are exactly why I abandoned FileUploader? and created Uploader. I'm sorry, but it's no longer supported, because I couldn't get it to do what you are trying to do.
My suggestion is to take it out of the Tabs and Dialog boxes.
You can continue to leave comments here but please don't reopen the ticket. Please make suggestions for Uploader instead and those tickets will be honored.
Hi mwilcox: Thanks for your repley, I once tried to use uploader to replace fileuploader, but I found there is no such function to remove selected files from uploader, but I need the function, what should I do.(in my application, when user selcteds file, the file will list in a datagrid, then user can delete file from the datagrid, if there is no delete function in Uploader, I can't replace fileuploader with Uploader, what should I do, do you have any plan to add "delete" function in Uploader? Thanks a lot.
It may not be possible to respond to this without an example. If one cannot be cited in the tests directory, you'll need to sign a CLA and submit a test.