0
votes

I'm developing in JSF 2.2 using passthrough elements and I would like to translate <h:inputFile> into a passthrough element. I searched in the internet but didn't found any solution using passthrough elements.

Which HTML5 should I passthrough to render it?

1

1 Answers

2
votes

From the jsf tutorial

<input type="file" jsf:id="myFile" jsf:value="#{bean.file}"/>

Is the adviced way