Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2096

MultiFileUploadField.js can't find file input when serving pages as XHTML

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.5
    • Fix Version/s: 1.3.6, 1.4-RC3
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      at least Mozilla Firefox

      Description

      When Wicket-based application serves web pages as XHTML (with the 'Content-type:application/xhtml+xml' header), upload procedure using MultiFileUploadField.js won't work as it can't find file input even though it's properly added.
      This happens because @line 65 of MultiFileUploadField.js input tag name is expected to be 'input' (capitalized), which in XHTML is actually 'input' (lowercase).

        Attachments

        1. MultiFileUploadField.js
          4 kB
          Sergey Podatelev

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              sp Sergey Podatelev
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified