Perhaps this is the problem?

https://issues.apache.org/jira/browse/WICKET-2019

I'll change my test to have an invalid field.


Ned Collyer wrote:
> 
> Hi,
> 
> I have the following - which was working on 1.4-rc1
> 
>         FormTester formTester = wicketTester.newFormTester("panel:form");
>         formTester.getForm().error("test error");
>         formTester.submit();
> 
> With 1.4-rc1 this code would not execute the forms onSubmit() method,
> because an error had been raised against the form.
> 
> With 1.4-rc2, the onSubmit is being executed, which is giving me errors in
> my tests - unexpected calls to mock objects.
> 
> I've scanned through the changelog and nothing jumps out at me as
> obviously effecting this.
> 
> Any ideas?
> 

-- 
View this message in context: 
http://www.nabble.com/Upgrading-to-1.4-rc2---bug-with-form-tester--tp22172382p22174427.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to