2
I am using version JSF 2.1 with this artifact below;
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.faces</artifactId>
<version>2.1.21</version>
<scope>compile</scope>
</dependency>
And I need to use inputfile as shown below;
<p:outputLabel value="Imagem do Produto" />
<h:inputFile value="#{cadastroProdutoBean.arquivo}" />
I know it is necessary to use the following tag below;
xmlns:i="http://xmlns.jcp.org/jsf/html"
since I didn’t recognize it, what is wrong? What does it take for me to make the inputfile be recognized on the page?
Update of the post///////////////////////////////////////////////////////
I am having a huge difficulty enabling JSF inputfile, as I have learned that inputfile only works in the JSF project of version 2.2. So I decided to create the Zero project and be able to convert to the latest version as you can see;
But I still have problems and I need help.
Please avoid long discussions in the comments; your talk was moved to the chat
– Maniero