You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2007/03/21 19:28:32 UTC
[jira] Resolved: (WICKET-83) FormTester doesn't update input models
[ https://issues.apache.org/jira/browse/WICKET-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-83.
---------------------------------
Resolution: Duplicate
> 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
> Assigned To: Jean-Baptiste Quenot
> 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.