简体   繁体   English

有关JSF AJAX的查询?

[英]Query regarding JSF AJAX?

I have implemented ajax in an jsf app using jquery, the ajax request bypass the '/faces' and directly call the deployed restful services. 我已经使用jquery在jsf应用程序中实现了ajax,ajax请求绕过了'/ faces'并直接调用已部署的restful服务。 I am thinking of using Richfaces for jsf ajax, can you guys tell me few things that richfaces jsf CAN do that jQuery ajax can't. 我正在考虑将Richfaces用于jsf ajax,你们能告诉我一些Richfaces jsf可以做到jQuery ajax无法做到的事情。

Thanks! 谢谢! Tarun 塔伦

Richfaces is one of many JSF component libraries out there. Richfaces是许多JSF组件库之一。 The benefits of using any JSF component library (Richfaces, Icefaces, Primefaces, etc...) is that you get a feature rich control set with a good deal of AJAX functionality built into many of its controls. 使用任何JSF组件库(Richfaces,Icefaces,Primefaces等)的好处是,您将获得功能丰富的控件集,并在其许多控件中内置了大量AJAX功能。

I personally use and prefer Primefaces as it seems to have the most feature rich controls however it can be buggy. 我个人使用并喜欢Primefaces,因为它似乎具有最多的功能丰富的控件,但是它可能有很多问题。 Richfaces isn't as nice in my opinion but it seems more stable. 在我看来,Richfaces并不是很好,但它似乎更稳定。

Check out the demos to see for yourself what they have to offer because they come with a lot of functionality out of box. 查看演示,亲自了解他们所提供的功能,因为它们具有很多开箱即用的功能。

http://www.jboss.org/richfaces/demos http://www.jboss.org/richfaces/demos

http://www.primefaces.org/showcase-labs/ui/home.jsf http://www.primefaces.org/showcase-labs/ui/home.jsf

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM