0
我們最近升級到JSF 2.3,並且p:fileUpload停止調用fileUploadListener。在Jetty上運行,但在Liberty上運行時仍然可以正常工作。我們正在使用PrimeFaces 6.0。在Liberty服務器上的JSF 2.3中未調用fileUploadListener
這是一個解決方法的已知問題?
<p:fileUpload id="uploadFile" update="@this docPanel" value="#{documentController.file}" mode="advanced" auto="false" fileLimit="1"
fileUploadListener="#{documentController.upload}" styleClass="fileUpload" widgetVar="fileUploadVar" a:onchange="checkSize(); "
required="true" requiredMessage="#{msgs.msg_val_required}"/>
我'改進'你的標籤 – Kukeltje
在Liberty上使用JSF 2.2工作嗎? – wtlucy
它確實與Liberty上的JSF 2.2一起工作。 – Promination