Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.0.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ACE fileEntry
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
After submitting the form, and uploading the file, the last selected file remains listed in the fileEntry component. This means that subsequent full form submits will re-upload the very same file. In many cases this is undesirable, and the field should be cleared after upload. In some limited circumstances, when validation has failed, applications may with for the corrected form submission to re-upload the file, so that everything can be managed all together, without having to write special cleanup code in the case of the form not being corrected, and the file having to be discarded on session expiry. In that case, it would be more user-friendly to maintain the selection.
So, whether we simply auto-clear the selection after upload, or introduce a property to control whether it is cleared on valid form submission, this needs to be addressed.
So, whether we simply auto-clear the selection after upload, or introduce a property to control whether it is cleared on valid form submission, this needs to be addressed.
Activity
Mark Collette
created issue -
Mark Collette
made changes -
Field | Original Value | New Value |
---|---|---|
Summary | fileEntry clear selection after uplod | fileEntry clear selection after upload |
Salesforce Case | [] |
Ken Fyten
made changes -
Summary | fileEntry clear selection after upload | Auto clear fileEntry selection after successful upload |
Salesforce Case | [] | |
Fix Version/s | 2.0.1 [ 10255 ] | |
Affects | [Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration] | |
Assignee Priority | P1 | |
Assignee | Mark Collette [ mark.collette ] |
Mark Collette
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.1 [ 10241 ] | |
Fix Version/s | 2.0.1 [ 10255 ] |
Mark Collette
made changes -
Link | This issue depends on ICE-6601 [ ICE-6601 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P1 |
Mark Collette
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0.1 [ 10255 ] | |
Fix Version/s | 2.1 [ 10241 ] |
Mark Collette
made changes -
Link | This issue depends on ICE-6601 [ ICE-6601 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P2 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24124 | Thu Mar 10 16:08:07 MST 2011 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/ace/component/resources/org.icefaces.component.fileentry/fileEntry.js
MODIFY /icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/fileentry/FileEntryResults.java MODIFY /icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/utils/JSONBuilder.java MODIFY /icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/fileentry/FileEntry.java |
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Issue Type | New Feature [ 2 ] | Improvement [ 4 ] |
Salesforce Case | [] |
Ken Fyten
made changes -
Assignee Priority | P2 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24235 | Wed Mar 23 21:17:28 MDT 2011 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/ace/component/resources/org.icefaces.component.fileentry/fileEntry.js
MODIFY /icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/fileentry/FileEntryRenderer.java |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Turns out that the non-javascript method will involve a full page refresh, which will clear the file input field anyway, so we can just do this in javascript.