我们可以在一个应用程序中混合使用JSF RI 1.1和Tamhawk和primefaces等吗? [英] Can we mix JSF RI 1.1 and Tamhawk and primefaces,etc in one application

查看:164
本文介绍了我们可以在一个应用程序中混合使用JSF RI 1.1和Tamhawk和primefaces等吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以在一个应用程序中将JSF RI 1.1与Tomahawk,Primefaces,MyFaces等混合使用吗?

Can we mix JSF RI 1.1 with Tomahawk, Primefaces, MyFaces, etc in one application?

推荐答案

您可以混合JSF 组件库(Tomahawk,RichFaces,PrimeFaces等),但是不能混合JSF 实现. Sun RI和Apache MyFaces都是JSF实现.您必须选择一个或另一个.任何组件库都应该在任何实现中都可以正常工作.选择哪种实现取决于它是否可靠和完善.对于JSF 1.1,我建议选择MyFaces.对于JSF 1.2和2.0,我建议选择Mojarra(Sun RI).

You can mix JSF component libraries (Tomahawk, RichFaces, PrimeFaces, etc), but you cannot mix JSF implementations. Sun RI and Apache MyFaces are both JSF implementations. You have to choose the one or other. Any component library ought to work flawlessly with any of the implementations. Which implementation to choose depends on whether it is solid and well-developed. For JSF 1.1, I'd suggest to pick MyFaces. For JSF 1.2 and 2.0, I'd suggest to pick Mojarra (the Sun RI).

这篇关于我们可以在一个应用程序中混合使用JSF RI 1.1和Tamhawk和primefaces等吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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