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. fix-WICKET-4861.patch
        8 kB
        Andrei Costescu
      2. test1.zip
        25 kB
        Andrei Costescu

        Issue Links

          Activity

          Andrei Costescu created issue -
          Andrei Costescu made changes -
          Field Original Value New Value
          Link This issue relates WICKET-3370 [ WICKET-3370 ]
          Andrei Costescu made changes -
          Attachment test1.zip [ 12552783 ]
          Andrei Costescu made changes -
          Attachment fix-WICKET-4861.patch [ 12553650 ]
          Martin Grigorov made changes -
          Fix Version/s 6.6.0 [ 12323963 ]
          Martin Grigorov made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Martin Grigorov [ mgrigorov ]
          Resolution Fixed [ 1 ]
          Gavin made changes -
          Link This issue relates to WICKET-3370 [ WICKET-3370 ]
          Gavin made changes -
          Link This issue relates to WICKET-3370 [ WICKET-3370 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development