ICEfaces
  1. ICEfaces
  2. ICE-6535

Auto clear fileEntry selection after successful upload

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24235 Wed Mar 23 21:17:28 MDT 2011 mark.collette ICE-6535 : Auto clear fileEntry selection after successful upload
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/ace/component/resources/org.icefaces.component.fileentry/fileEntry.js
        Commit graph MODIFY /icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/fileentry/FileEntryRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24124 Thu Mar 10 16:08:07 MST 2011 mark.collette ICE-6535 : Auto clear fileEntry selection after successful upload
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/ace/component/resources/org.icefaces.component.fileentry/fileEntry.js
        Commit graph MODIFY /icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/fileentry/FileEntryResults.java
        Commit graph MODIFY /icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/utils/JSONBuilder.java
        Commit graph MODIFY /icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/fileentry/FileEntry.java

          People

          • Assignee:
            Mark Collette
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: