* wicket user:
>
> I'm trying to test a form submission with SubmitLink, test code below:
>
> tester.setParameterForNextRequest("numberChangeForm:numberToChangeTo",
> numberToChangeTo);
>
> reset(smsServiceMock);
> smsServiceMock.sendActivationSms(isA(Subscriber.class));
> replay(smsServiceMock);
>
> // submit the form
> //tester.clickLink("numberChangeForm:numberChangeSubmitLink");
> tester.submitForm("numberChangeForm");
> <snip/>
> - trying to call the link directly but I just get the below exception which
> I'm not really surpised about....
>
> java.lang.IllegalArgumentException: The component class doesn't seem to
> implement any of the known *Listener interfaces: class
> com.yeigo.view.wicket.register.RegistrationCheckPage$2
This is a bug in WicketTester (BaseWicketTester actually). Like
Igor suggests, please create a JIRA issue at
https://issues.apache.org/jira/browse/WICKET
If you could provide a "quickstart" project, that would be great
too.
Thanks,
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]