As your formComponents are bind to dictModelBean with a PropertyModel, you
must reset the object in your model with something like :
dictModelBean.setObject(new DictBean());
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Fields-in-modal-window-not-resetting
Hi,
ModalWindow is an Ajax component, so it makes the page stateful. That means
Wicket will render the page with its current state.
When submitting the Form the request parameters are used to feed the form
components (the input fields). The submitted data is stored in
FormComponent's model.
To re
Hi All,
I have a modal window with two fields and a confirm and cancel button.
The fields do not reset after submitting and the data from the previous use is
still there. I have tried several things.
1) Refreshing the form on submit
2) form.clearInput(); (also on submit)
3)