Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8.3, 1.8.2-EE-GA_P02
-
Component/s: None
-
Labels:None
-
Environment:JBoss AS 5.0.1.GA, IE7, FF3
Description
Client-side JavaScript code which handles submitOnUpload=preUpload, submitOnUpload=postUpload and submitOnUpload=preAndPostUpload is not reliable.
In particular, it assumes that IFRAME content is loaded within 300 ms which cannot be guaranteed in a networked environment.
If IFRAME is not loaded fast enough, both IE7 and FF3 display a JavaScript error:
frame.document.getElementsByTagName("form")[0] is undefined
After such error happens, submitOnUpload feature ceases to work until page is refreshed.
Possibly related JIRA issues and forum posts are:
ICE-3144
ICE-4246
http://www.icefaces.org/JForum/posts/list/12180.page
In particular, it assumes that IFRAME content is loaded within 300 ms which cannot be guaranteed in a networked environment.
If IFRAME is not loaded fast enough, both IE7 and FF3 display a JavaScript error:
frame.document.getElementsByTagName("form")[0] is undefined
After such error happens, submitOnUpload feature ceases to work until page is refreshed.
Possibly related JIRA issues and forum posts are:
http://www.icefaces.org/JForum/posts/list/12180.page
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23044 | Fri Nov 05 13:42:54 MDT 2010 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputfile/InputFileRenderer.java
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputfile/InputFile.java |