Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: EE-1.8.2.GA_P07
-
Fix Version/s: None
-
Component/s: ICE-Components
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13303 - https://icesoft.my.salesforce.com/50070000011uOmn
-
Workaround Exists:Yes
-
Workaround Description:Move each ice:inputFile component to their own form.
Description
-
Hide
- Case13303Example.war
- 7.10 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../support/Item.class 0.3 kB
- WEB-INF/classes/.../support/TestBean.class 6 kB
- WEB-INF/faces-config.xml 0.9 kB
- WEB-INF/lib/FastInfoset.jar 281 kB
- WEB-INF/lib/backport-util-concurrent.jar 316 kB
- WEB-INF/lib/commons-beanutils.jar 113 kB
- WEB-INF/lib/commons-collections.jar 162 kB
- WEB-INF/lib/commons-digester.jar 104 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/commons-logging.jar 30 kB
- WEB-INF/lib/icefaces-comps.jar 1.97 MB
- WEB-INF/lib/icefaces-facelets.jar 592 kB
- WEB-INF/lib/icefaces.jar 1.22 MB
- WEB-INF/lib/jsf-api.jar 312 kB
- WEB-INF/lib/jsf-impl.jar 1.14 MB
- WEB-INF/lib/jxl.jar 689 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 148 kB
- WEB-INF/web.xml 5 kB
- index.xhtml 0.4 kB
- patches.js 3 kB
- welcomeICEfaces.xhtml 4 kB
-
Hide
- Case13303Example.zip
- 27 kB
- Arran Mccullough
-
- Case13303Example/build.xml 3 kB
- Case13303Example/.../ant-deploy.xml 3 kB
- Case13303Example/.../build-impl.xml 80 kB
- Case13303Example/.../faces-config.NavData 0.2 kB
- Case13303Example/.../genfiles.properties 0.5 kB
- Case13303Example/.../private.properties 0.5 kB
- Case13303Example/nbproject/.../private.xml 0.3 kB
- Case13303Example/.../project.properties 7 kB
- Case13303Example/nbproject/project.xml 4 kB
- Case13303Example/src/conf/MANIFEST.MF 0.0 kB
- Case13303Example/src/.../support/Item.java 0.1 kB
- Case13303Example/src/.../TestBean.java 14 kB
- Case13303Example/web/index.xhtml 0.4 kB
- Case13303Example/web/.../context.xml 0.1 kB
- Case13303Example/web/patches.js 3 kB
- Case13303Example/web/.../faces-config.xml 0.9 kB
- Case13303Example/web/WEB-INF/web.xml 5 kB
- Case13303Example/.../welcomeICEfaces.xhtml 4 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
It may be necessary for the test to use specify one of the submitOnUpload attribute settings to avoid this. From the TLD doc for inputFile:
Depending on the value of submitOnUpload, the inputFile may post its enclosing form, before and/or after the file upload occurs. Possible values are:
none
File uploading will not cause the inputFile's enclosing form, and any other of the form fields, to be submitted to the server.
preUpload
The inputFile's enclosing form, and any other of the form fields, will be submitted to the server, immediately before the file uploading begins.
postUpload
The inputFile's enclosing form, and any other of the form fields, will be submitted to the server, immediately after the file uploading finishes.
preAndPostUpload
The inputFile's enclosing form, and any other of the form fields, will be submitted to the server, both before and after the file uploading takes place.
This is to support two different use cases. Applications running in synchronous mode can not make use of server push, so to depict the beginning and the ending of the file upload requires browser initiated JSF lifecycles, accomplished via form submissions. As well, for some applications, it's desirable to submit other form fields when the user clicks on the file upload button, so that they may be processed together with the uploaded file.Note: The default value is none.
The customer needs to use the preAndPostUpload value for this setting as they need to update the page when the upload begins and when the upload ends to facilitate their ui blocker/user notification code. Other values for this attribute would cause this functionality to no longer function correctly.
Attached test case that shows this issue.
Steps: