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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: