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

Problem with Autolinks inside panel preview code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0-beta1
    • 1.3.0-beta3
    • None
    • None
    • JDK1.6
      Wicket quickstart

    Description

      All my pages are subclassed from a common basepage. That page has a
      Panel with login information and some links. On the basepage-markup,
      the html of the panel is copied to enable an offline preview for my
      webdesigner (he can work on the templates from within Dreamweaver).
      The links have a href attribute, so that offline navigation is
      possible.

      This worked well in 1.2. In 1.3, I get a markup error at the start of the link:

      org.apache.wicket.markup.MarkupException: Expected close tag for <div
      id="loginInfoPanel0" wicket:id="loginInfoPanel">

      The page being reported to have a problem is the subpage .

      Now when I remove the href from the links in the basepage , all
      pages render fine, although the links are still there in the
      subpage-markups, though outside of wicket:extend.

      So, in this case it was not that big of a deal, but I think this
      problem might come again. I think it has something to do with
      Autolinkresolver trying to generate new links in places where he
      shouldn't. Is it possible to disable this?

      In fact, I think the problem would occurr even without using base- and
      childpages. It's just that the error message on the child page
      displays the combined markup.

      Attachments

        1. wicket-quickstart-autolink.tar.gz
          494 kB
          Rüdiger Schulz

        Issue Links

          Activity

            People

              jdonnerstag Juegen Donnerstag
              mindhaq Rüdiger Schulz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: