* Gohan: > > "Label model does not match. expected:<You entered: [Firstname Lastname]> > but was:<You entered: [null null]>" > The problem seem to be that the call to ..setModelValue(..) doesn't update > the model or it get "lost" when I press the submit button somehow. How can I > fix this?
This is fixed in the soon-to-be-released Wicket 1.3 And please think searching Jira before asking questions! A quick search for "formtester" gives: FormTester doesn't update input models https://issues.apache.org/jira/browse/WICKET-83 FormTester does not set request parameters for unchanged form fields https://issues.apache.org/jira/browse/WICKET-85 FormTester doesn't pass form components default values https://issues.apache.org/jira/browse/WICKET-258 Cheers, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user