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

WicketTester.clickLink() does not recognize SubmitLink.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.5, 1.3.0-beta1
    • 1.3.0-beta2
    • wicket
    • None
    • Debian Etch, Sun Java 1.5, Eclipse. Error reproduced in wicket versions 1.2.5 and 1.3.

    Description

      Calling the WicketTester.clickLink() method on a SubmitLink results in the error:

      wicket.WicketRuntimeException: Link

      {PATH_TO_LINK} is not a Link, AjaxLink, AjaxFallbackLink or AjaxSubmitLink.

      where {PATH_TO_LINK}

      is the path provided to the SubmitLink. Ideally, clickLink() should recognize the SubmitLink as a valid link and duplicate the act of clicking it.

      Attachments

        Activity

          People

            almaw Alastair Maw
            jbrunner Joseph Brunner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: