title: "TypeError: partialResponse is undefined" in h:inputFile when use <f:ajax>
body: <p>I want to upload a file using ajax. But in doing so I get the following error in the browser console when i select the file.</p>
  
  <p>TypeError: partialResponse is undefined in jsf.js. </p>
  
  <p>It not happens with other inputs with ajax, only with inputFile. </p>
  
  <p><a href="https://i.stack.imgur.com/goNoA.png" rel="nofollow noreferrer">Picture of the error</a></p>
  
  <p>Recently i update to jsf 2.2.14 in a JBOSS EAP 6.3. The servlet is 3.0 (i checked this in the web.xml). </p>
  
  <p>To upload file i follow these example: <a href="https://jsflive.wordpress.com/2013/04/23/jsf22-file-upload/" rel="nofollow noreferrer">https://jsflive.wordpress.com/2013/04/23/jsf22-file-upload/</a></p>
  
  <p>This is in the xhtml:</p>
  
  <pre><code>            &lt;h:form id="formTest" enctype="multipart/form-data"&gt;
                  &lt;h:inputFile id="file" value="#{manejador.maestroFormularios.maestroArchivos.archivoTemporal}" &gt;
                      &lt;f:ajax execute="@this" render=":formTest"/&gt;
                  &lt;/h:inputFile&gt;
                  &lt;h:commandButton value="Upload" action="#{manejador.maestroFormularios.maestroArchivos.cargarArchivoEnLista()}"/&gt;
              &lt;/h:form&gt;
  </code></pre>
  
  <p>In the backing bean i use archivoTemporal of type Part:</p>
  
  <pre><code>public class MaestroArchivos implements Serializable {
  
  private Part archivoTemporal;
  </code></pre>