I have a af:inputFile component with me. I have to upload only PDF files with it.So i am checking file.getContentType and throwing a faces message if content has a mismatch. Now after that i am writing inputFile.resetValue() and inputFile.setValid(false). It is resetting the value, but after that if i again click on BROWSE to upload a valid PDF file it simply halts, Value Change Listener associated with this never gets called again. Below is a URL where BijeshKrishnadas writes "may be its a bug in adf" and suggest to go with Disabling the component which will violate my UI and I don't want to use it. Is there any WORKAROUND/SOLUTION for this? Please help.
Studio Edition Version 126.96.36.199.0
Thanks in advance.