You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org> on 2007/03/21 09:11:32 UTC
[jira] Commented: (WICKET-83) FormTester doesn't update input
models
[ https://issues.apache.org/jira/browse/WICKET-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482668 ]
Jean-Baptiste Quenot commented on WICKET-83:
--------------------------------------------
Hi Dmitry, I think we can close this issue now, right?
> FormTester doesn't update input models
> --------------------------------------
>
> Key: WICKET-83
> URL: https://issues.apache.org/jira/browse/WICKET-83
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.2.3
> Reporter: Dmitry Kandalov
> Priority: Minor
>
> public Page()
> {
> final Form form = new Form( "form" );
> form.add( new TextField( "name", new Model( "some input" ) ).setRequired( true ) );
> add( form );
> }
> public void test()
> {
> tester.startPage( Page.class );
> tester.newFormTester( "form" ).submit();
> tester.newFormTester( "form" ).submit();
> tester.assertNoErrorMessage(); // <--- test fails here, because "name" model is null
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.