开发者

Can we mix JSF RI 1.1 and Tamhawk and primefaces,etc in one application

Can we mix JSF RI 1.1 with Tomahawk, Prime开发者_开发技巧faces, MyFaces, etc in one application?


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).


PrimeFaces does not support JSF 1.1., it has been designed for JSF 2.0 so we've decided not to support 1.1. at the beginning of the project. Yet JSF 1.2 is well supported.


From my experience, there's a lot of compatibility issues when mixing JSF RI and Myfaces libraries like Tomahawk, especially on JSF 1.1.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜