WicketTester.clickLink() does not recognize SubmitLink.
-------------------------------------------------------
Key: WICKET-478
URL: https://issues.apache.org/jira/browse/WICKET-478
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.2.5, 1.3
Environment: Debian Etch, Sun Java 1.5, Eclipse. Error reproduced in
wicket versions 1.2.5 and 1.3.
Reporter: Joseph Brunner
Priority: Minor
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.