ajax不适用于jsf中的多部分/表单数据
我有下面的代码ajax不适用于jsf中的多部分/表单数据,ajax,jsf,jsf-2,primefaces,Ajax,Jsf,Jsf 2,Primefaces,我有下面的代码 <h:form enctype="multipart/form-data"> <p:panel id="panelEmployee"> <h:commandButton value="Go" action="#{employee.getFirstEmployee()}"> <f:ajax render="panelEmployee" execute="@form"/> </h:commandButton> <
<h:form enctype="multipart/form-data">
<p:panel id="panelEmployee">
<h:commandButton value="Go" action="#{employee.getFirstEmployee()}">
<f:ajax render="panelEmployee" execute="@form"/>
</h:commandButton>
<p:fileUpload value="#{employee.file}" mode="simple" allowTypes="/(\.|\/)(gif|jpe?g|png)$/"/>
</p:panel>
</h:form>
谁能推荐一下吗?
谢谢。什么浏览器?您是否在多个浏览器中尝试过此操作?所有浏览器都会出现上述错误。
SCRIPT5007: Unable to get value of the property 'contentWindow': object is null or undefined