This discussion is archived
2 Replies Latest reply: Aug 12, 2013 11:58 PM by Frank Nimphius RSS

af:InputFile behaving wierd after resetValue() call

Avi Newbie
Currently Being Moderated

Hi All,

 

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

 

inputFile and server-side validations

 

Studio Edition Version 11.1.1.6.0

FireFox 21.

 

Thanks in advance.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points