Primefaces Dialog Framework v 4 is not working, I have googled to solve the problem as I have added the following code to faces config but all went in vain. Please find the code below:
Index page:
<p:commandButton value="View" icon="ui-icon-extlink" actionListener="#{dialogBean.viewCars}" />
Bean Code:
public void viewCars() {
RequestContext.getCurrentInstance().openDialog("viewCars");
}
faces config:
<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
How to solve the issue?