My Oracle Support Banner

Not Getting Handlers To The Files When Used Af:inputFile Component For Multiple Files In Javascrpit (Doc ID 2195870.1)

Last updated on OCTOBER 27, 2016

Applies to:

Oracle JDeveloper - Version and later
Information in this document applies to any platform.


When using af:inputFile with maximumFiles property to load multiple files, if using JavaScript to get the individual file handle for each uploading file, output is:




For a single file (maximumFiles="1") it is working as expected.

The observation is that in case of a single file, af:inputFile Component rendering an input field and it is allowing to read file, so JavaScript is able to get handler to the file with following statement.


In case of Multiple files with maximumFiles attribute, af:inputFile Component rending table with div tags and displaying selected files as table rows. JavaScript is not able to get handler to the file in this case.

document.getElementById("uploadedFile::content").files; coming as undefined.

document.getElementById("uploadedFile::if").files; getting list of files but when checked list size its coming as 0


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.