Opened 9 years ago
Closed 8 years ago
#14154 closed defect (wontfix)
Cannot set "url" in dojox.form.uploader in IE7
Reported by: | ldavis | Owned by: | Mike Wilcox |
---|---|---|---|
Priority: | blocker | Milestone: | tbd |
Component: | DojoX Uploader | Version: | 1.6.1 |
Keywords: | uploader url | Cc: | |
Blocked By: | Blocking: |
Description
Cannot dynamically update the submission url in dojox.form.uploader in IE7 using the flash plugin. Works fine in firefox.
Using format: uploader.set("url", "http://www.mySite.com");
I can set the value and ask for the value and it appears to be valid, however when you perform the actual upload it reflects the original value set during creation, not the updated url.
Change History (6)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Lee, have you tried setting the url in the upload command?
uploader.upload({url:NEWURL});
comment:3 Changed 9 years ago by
Same results, still using the original URL during creation. I should also mention, I tried this with IE9 and got the same results as IE7.
I am totally willing to try any other suggestions, so please throw them my way, as we are also experiencing swf loading issue in IE9 after we destroy and recreate the widget to work around this. When I reuse the same widget (uploader in a dialog) no problems, except for this darn URL issue.
comment:4 Changed 9 years ago by
To work around this issue I ended up doing the following:
Make sure your uploader exists in a form and upon submission update the url during the submit.
uploader.submit({url:NEWURL});
With browsers other then IE you can update the URL in your setter and submit using upload.
uploader.set("url", NEWURL) uploader.upload();
However, the reverse is not true, I could not seem to update the URL via submit for firefox for example...
comment:6 Changed 8 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Summary: | Cannot set "url" in dojox.form.uploader in IE 7 → Cannot set "url" in dojox.form.uploader in IE7 |
Probably should be marked as wontfix since it's only IE6 & IE7, which are deprecated.
As a temporary work around, I tried to destroy and recreate the uploader, which would set the URL. It appears you can't destroy, recreate, and reattach the uploader to the same location of a templated widget in IE7 without getting an error (works fine in IE9/firefox).
Example:
Destroying my entire widget and then recreating appears to be the only viable workaround I can see right now.
This may need to be a completely new defect and I'm happy to do that, but wanted to note it, as it was only being performed to work around the problem originally filed.