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!

af:inputfile in column of af:table

User_Q9C3JSep 22 2022

Hello,
I am building an adf app in JDev Studio Edition 12.2.1.4.0
I found this post valueChangeListener of inputFile doesnot work for first click — oracle-tech that describes what I am trying to accomplish but no real answer was found it seems.
I have a table (single-select) with a column with af:inputFile in this column. The valueChangeListener does not fire on the first click of the upload file button on a row which is not currently selected.
Example: on page load, row one is selected. User doesn't select another row, but rather just selects the af:inputfile button on let's say row 2 column 4 (the column with the input file). The valueChangeListener does not get called. If the user was to first select row 2 by clicking anywhere on this row, and THEN the user clicks the upload button, the listener would get called.
Is there a way to make the listener get called without first selecting the row but just selecting the upload button in that row?
By the way, this would work correctly if RowSelection="false" but it fails when RowSelection="single" and I need the rows to be selectable.
Thanks in advance.

Comments

Post Details

Added on Sep 22 2022
10 comments
397 views