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

Relax restrictions on url of ExternalUrlResourceReference and rename it to UrlResourceReference

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.0.0-beta3
    • 6.0.0
    • wicket

    Description

      ExternalUrlResourceReference allows using a url as a resource reference. Currently, the class requires that the url be absolute. I couldn't find a reason for this restriction and my tests show the class works without it.

      This issue is to remove the absoluteness restriction for the url. This will allow referencing resources on the same server root as Wicket, but which are not managed by Wicket.

      Email thread discussing the issue: http://mail-archives.apache.org/mod_mbox/wicket-dev/201207.mbox/%3CCAMomwMqSJFY%3DVDNQCSwZQQV9AP-MZu2Jwb-zUmv6%2B6zzbdMA7A%40mail.gmail.com%3E

      Attachments

        1. changes.diff
          3 kB
          Bertrand Guay-Paquet

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            berniegp Bertrand Guay-Paquet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: