after clicking submit button the values are still there in field itself how
to clear the field values
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-call-javascript-function-on-form-submission-tp3408147p3412291.html
Sent from the Users forum mailing list
Set a null/empty value in their model plus notify the component about
changed models e.g. Component#modelChanged.
e.g.
form = new Form(new CompoundPropertyModel(new Bean())
form.add(new Field(someProperty);
(...)
form.add(new SubmitComponent(id){
onSubmit(){
form.setDefaultModelObject(new