title: Is it possible to reset the file limit counter on p:fileUpload?
body: <p>We have a <code>p:fileUpload</code> to let a user upload an avatar image. If he wants he should be able to upload different ones in quick succession without having to reload the view; this would replace his current avatar every time. However, if <code>fileLimit</code> is set to 1, he has to reload the page to be able to use the component again. If it is any more (or unlimited (=0)) he is able to upload multiple files at once, which makes little sense. The <code>multiple</code>-attribute, if set to false, only restricts the file browsing-dialog to <em>selecting</em> a single file; it can still be opened again to add more files at will. Is it possible to allow uploading any amount of files, but never more than one file at once? We are using Primefaces 4.0.</p>