Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

valueChangeListener not firing for af:inputFile

926432May 21 2016 — edited May 24 2016

Hi,

The use case , I want to upload the file using ADF UI and save it to the database as a blob.

I have a af:inputFile in a .jsff page and have defined value change listener in the bean for this page, but value change listener is not firing in my page, the method associated with the VCL is not at all executed.

This is the component in jsf page:

pastedImage_0.png

This is the method in backing bean:

pastedImage_1.png

at run time this method is not executed wherein other method present in the bean is executed:

pastedImage_2.png

I tried all the suggestions already available in the forum and included- vc.getComponent().processUpdates(FacesContext.getCurrentInstance()); as well but this also didn't helped.

The scope of the bean in set at backing bean level at the task flow:

pastedImage_3.png

My Jdev version is 11.1.1.4

This post has been answered by Timo Hahn on May 21 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 21 2016
Added on May 21 2016
3 comments
1,245 views