Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why use omnifaces while I am using primefaces?

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?

like image 276
John Alexander Betts Avatar asked Aug 26 '13 13:08

John Alexander Betts


1 Answers

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.
like image 78
Xtreme Biker Avatar answered Sep 28 '22 10:09

Xtreme Biker