Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.7.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:a/synchronous mode
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
I recommend adding an attribute, to control when the form submissions may occur. It should be able to enumerate the following modes:
Never
- Form submissions would never occur
NotAsync
- Form submissions would not occur if the app was in asynchronous mode
Before
- Form submission would occur before the file upload
After
- Form submission would occur after the file upload, perhaps to process form fields along with the file
BeforeAndAfter
- Form submission would occur before and after the file upload, which is the current behaviour, to support synchronous mode
Issue Links
- depends on
-
ICE-2860 InputFile IFRAME render sync mode update javascript
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
We decided to implement the majority of the modes described, in the new String attribute submitOnUpload, in inputFile. They are called "none" (the default value), "preUpload", "postUpload", "preAndPostUpload".
TRUNK
Subversion 16911
icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-inputFile-props.xml
icefaces\component\src\com\icesoft\faces\component\inputfile\InputFile.java
icefaces\component\src\com\icesoft\faces\component\inputfile\InputFileRenderer.java
ICEfaces 1.7 branch
Subversion 16912
icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-inputFile-props.xml
icefaces\component\src\com\icesoft\faces\component\inputfile\InputFile.java
icefaces\component\src\com\icesoft\faces\component\inputfile\InputFileRenderer.java