can anyone pls let me know how to validate rich:fileupload. For e.g. I have <rich:fileupload acceptTypes="png, jpeg"/>. What I want here is, when we select/add a file other than png, jpeg it wont accept but it is not prompting any alert. Is there any way to do this.