Primefaces Dialog Framework v 4 无法正常工作,我已经用谷歌搜索解决了这个问题,因为我已将以下代码添加到 faces config 中,但一切都是徒劳的。请在下面找到代码:
索引页面:
<p:commandButton value="View" icon="ui-icon-extlink" actionListener="#{dialogBean.viewCars}" />
豆码:
public void viewCars() {
RequestContext.getCurrentInstance().openDialog("viewCars");
}
人脸配置:
<application> <action-listener>org.primefaces.application.DialogActionListener</action-listener>
<navigation-handler>org.primefaces.application.DialogNavigationHandler</navigation-handler>
<view-handler>org.primefaces.application.DialogViewHandler</view-handler></application>
TypeError: this.jq.draggable is not a function in /faces/javax.faces.resource/primefaces.js?ln=primefaces&v=4.0
如何解决问题?