混合Primefaces 3.5和Richfaces 4.3,捆绑的jQuery是否会冲突? [英] Mixing Primefaces 3.5 and Richfaces 4.3, will the bundled jQuery conflict?

查看:124
本文介绍了混合Primefaces 3.5和Richfaces 4.3,捆绑的jQuery是否会冲突?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个JSF项目,在其中必须集成两个组件库.在最后的版本中,主要问题是jquery.js版本和jQuery中的extras实现.我查看了PrimeFaces和RichFaces库的新版本,发现它们具有相同的jquery.js版本.我可以在没有冲突的情况下一起工作吗?

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?

推荐答案

我试图同时使用Richfaces 4.3.2和Primefaces 3.5,因为它们都包含相同的jQuery 1.8.3版本,但是失败了.

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.

这种观察可能对您有帮助:随着我彻底删除了所有primefaces组件,这些问题甚至仍然存在.删除primefaces.jar(或返回至primefaces 3.3.1) DID 即可解决问题.

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.

这篇关于混合Primefaces 3.5和Richfaces 4.3,捆绑的jQuery是否会冲突?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆