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

DownloadLink doesn't wrap the String model used for file name nor does it detach

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.1.0, 1.5.9
    • None
    • None

    Description

      Component DownloadLink doesn't call method wrap of class Component on parameter fileNameModel. This causes models like StringResourceModel to not resolve resource bundles correctly.
      See the discussion here: http://stackoverflow.com/questions/12196533/how-to-use-wicket-stringresourcemodel-in-downloadlink

      The patch seems quite trivial.

      Detachment is also missing.

      Attachments

        1. wicket-4738.patch
          0.6 kB
          Andrea Del Bene

        Activity

          People

            svenmeier Sven Meier
            bitstorm Andrea Del Bene
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: