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

AutoLinkResolver and Parent-Relative (../) Links

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.2
    • 1.3.4, 1.4-M3
    • wicket
    • None

    Description

      Suppose I have a package structure like this:

      com.mycompany.myproject
      — module1
      ------- page
      --------- Page1.html
      — module2
      ------- page
      --------- Page2.html

      If I want to autolink from Page1.html to Page2.html, it would look like:

      <wicket:link>
      <a href="../../module2/page/Page2.html">Click Here!</a>
      </wicket:link>

      This is not working, however. The AutoLinkResolver spits out a warning message:

      "WARN - AutoLinkResolver - Did not find corresponding java class: .....module2.page.Page2"

      Attachments

        1. WICKET-1428.patch
          2 kB
          James Carman
        2. wicket-1428-patch-with-test-cases-for-wicket-1.3.x.patch
          11 kB
          Peter Ertl
        3. wicket-1428-patch-with-test-cases-for-wicket-1.4.x.patch
          11 kB
          Peter Ertl
        4. wicket-link-outside-of-package.zip
          3 kB
          Peter Ertl

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jwcarman James Carman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: