How to keep file validation in apache-wicket if no file has been selected?
Answer / Sarika Chaudhari
To maintain file validation in Apache Wicket even when no file is selected, you can use a CompoundPropertyModel and set the required property of your FileUpload field to true. This way, the field will always be validated.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to create custom validator in apache-wicket?
What are the ways to create a page in wicket?
How to create multiple selected listbox in apache-wicket?
How to create dropdown choice in apache-wicket?
How to create a textarea in apache-wicket?
What is about web application in wicket?
How to create 404 error page?
How to create multiple checkboxes in apache-wicket?
What is wicket framework?
What are wicket models?
How to create a password field in apache-wicket?
How to integrate apache-wicket with spring?