Mixing Primefaces 3.5 and Richfaces 4.3, will the bundled jQuery conflict?

℡╲_俬逩灬. 提交于 2019-12-12 05:03:38

问题


I'm developing a JSF project in which I must integrate both component libraries. In last versions the main problem was the jquery.js version and extras implementation in jQuery. I've looked the new version of PrimeFaces and RichFaces libraries and I noticed that both have the same jquery.js version. Can I work with both without conflicts?


回答1:


I tried to use Richfaces 4.3.2 and Primefaces 3.5 together as they both include the same jQuery version 1.8.3, but it terribly failed.

The inspection if head-script order did not help.

This observation may help you: the problems even persisted, as I completely removed any primefaces components; removing the primefaces.jar (or going back to primefaces 3.3.1) DID solve the problems.



来源:https://stackoverflow.com/questions/14712130/mixing-primefaces-3-5-and-richfaces-4-3-will-the-bundled-jquery-conflict

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!