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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.5
    • 1.3.6, 1.4-RC3
    • wicket
    • None
    • 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

            ivaynberg Igor Vaynberg
            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