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

Autolinks with getMarkupSettings().setAutomaticLinking(true) produce error in subpackage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5-RC5.1
    • 1.5-RC6
    • wicket
    • Slackware 12.2
      Java(TM) SE Runtime Environment (build 1.6.0_26-b03)

    Description

      Project structure: BasePage, HomePage, pages.Page1.

      Autolinks added in the base page will produce confusing error message "Last cause: Tag expected" at page pages.Page1. It seems that they do not take into account where in the page hierarchy they are added (in the example, in BasePage).

      If getMarkupSettings().setAutomaticLinking(true) is removed and links are wrapped into <wicket:link> then warning "WARN - AutoLinkResolver - Did not find corresponding java class: com.mycompany.pages.HomePage" is produced in the log when accessing pages.Page1. However, links on both pages work.

      Attachments

        1. myproject.zip
          23 kB
          Raivo Laanemets

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            rla Raivo Laanemets
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: