Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.2.5, 1.3.0-beta1
-
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.