Hello, I have an upload form with a TextField and a FileUploadField. When the user fill the form and press an AjaxButton, it refreshes the RefreshingView listing the files already uploaded. What I would like to do is clear the textfield when the form is submitted. I already tried to add the text field in the AjaxRequestTarget of the submitting button after having cleared the model object. Apparently it works but when I try to submit a new time, it keeps sending null value in my model object. I also tried to update the model object by adding a AjaxFormComponentUpdatingBehavior to the TextField and update the model object from there: I see the new value entered, but when the user presses the submit button, it keeps sending me null.... I must be missing a things but I am totally lost :(
-- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Reseting-a-textField-of-an-upload-form-tp4652632.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org