Why use omnifaces while I am using primefaces?

情到浓时终转凉″ 提交于 2019-12-04 20:35:37

问题


I need to know what the benefits of using OmniFaces would be versus PrimeFaces which I'm using at the moment. What features does OmniFaces offer that PrimeFaces doesn't?


回答1:


They are different things and you can perfectly combine them.

  • Omnifaces is a utility for JSF which enhances JSF itself. It's not intended to just provide built-in view components (even it has some of them), but to improve JSF standard API providing utilities as their own converters, filters, functions and validators. According to its showcase:

OmniFaces is a utility library for JSF 2 that focusses on utilities that ease everyday tasks with the standard JSF API. OmniFaces is a response to frequently recurring problems encountered during ages of professional JSF development of the JDevelopment team and from questions being asked on Stack Overflow.

  • Primefaces is a library of view components for JSF. They are focused in helping you with already built in components which combine jQuery, Javascript and CSS styling. You can have a look to all of them in their showcase.


来源:https://stackoverflow.com/questions/18445549/why-use-omnifaces-while-i-am-using-primefaces

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