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

wicket:link loads image via onclick() instead of the referenced page when an anchor tag includes an img

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.4.17
    • None
    • wicket
    • Mac OSX 10.7, Java 1.6.0_26

    Description

      With the following markup, I expect that clicking on the image will result in the browser loading AnotherPage:

      <a href="AnotherPage.html">
      <img src="java-logo.png"/>
      </a>

      Instead, the image itself it shown, due to the onclick() handler that wicket:link is adding.

      I will include a quickstart to demonstrate.

      Attachments

        1. wicket-link-bug.tar.gz
          46 kB
          George Armhold

        Issue Links

          Activity

            People

              ivaynberg Igor Vaynberg
              armhold@cs.rutgers.edu George Armhold
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: