Re: MulitFileUploadField looses state after validation error

2012-02-06 Thread Martin Grigorov
Hi, You can add AjaxFormComponentUpdatingBehavior to all TextFields and set some error class when they are invalid. Add onsubmit event listener (pure JS) to the form that will check all form elements for such class and refuse the submit (by returning false) if there is at least one invalid text fi

RE: MulitFileUploadField looses state after validation error

2012-02-06 Thread Wilhelmsen Tor Iver
2012 14:34 To: users@wicket.apache.org Subject: MulitFileUploadField looses state after validation error Hi everyone Little advice needed: I have a Form with several TextField's and a MultiFileUploadField. If you select some files to upload and enter some text in the TextFields - a

MulitFileUploadField looses state after validation error

2012-02-06 Thread Daniel Meier
Hi everyone Little advice needed: I have a Form with several TextField's and a MultiFileUploadField. If you select some files to upload and enter some text in the TextFields - after the submit everything is fine. Now if in case some TextField fire a validation error and the page is rendered again,