Menu

af:inputFile component

ADF By Aug 09, 2012 No Comments

<af:inputFile /> component is useful to browse and select file to upload. Hence, whenever we want to accept files from users, we can display this component on the JSF page. But to get the selected values from this component the “usesUpload” attribute of the form should be set to “true”, otherwise it returns null always.
<af:form id=”f1″ usesUpload=”true”>
<af:inputFile label=”Image File” id=”if1″ />
</af:form>

No Comments

Leave a comment

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.