Wicket
  1. Wicket
  2. WICKET-4861

Making MultiFileUploadField use HTML5 multiple attr & remove confusing fakepath

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.2.0
    • Fix Version/s: 6.6.0
    • Component/s: wicket
    • Labels:
      None

      Description

      WICKET-3370 prepared the terrain (all major browsers except IE already support it).
      I will make a Git pull request for getting this into the master branch.
      Here is what the changes do (commit comment):

      Added the possibility to select multiple files in the OS dialog for
      browsers that support HTML5 'multiple' attribute. For browsers that do
      not support it, or if you do not set the boolean to true, it will behave
      the same as before.
      New:

      • easier select multiple files from multiple folders
      • shows the multiple files after choosing them - one per line
        Fixes:
      • the delete buttons are aligned instead of positioning after the
        variable length file names
      • useless and confusing "C:\fakepath" in filenames reported by some
        browsers (in multiple with single select mode) are now hidden.
      1. test1.zip
        25 kB
        Andrei Costescu
      2. fix-WICKET-4861.patch
        8 kB
        Andrei Costescu

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Andrei Costescu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development