You should clear the textField's model and update it:
textField = new TextField(...);
textField.setOutputMarkupId();
onSubmit(AjaxRequestTarget target) {
...
textField.setModelObject(null);
ajaxRequestTarget.update(textField);
}
Hope this helps
Sven
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Java-Wickets-Refresh-Model-Window-tp4677602p4677607.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]