When I select a file to upload and click on <p:commandButton>
and if there is some validation error on any inputs and page gets refreshed the uploaded file disappear from the screen and I have to again select the file.
I would like that file instance already selected should not disappear.
How can I achieve this?