11

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?

Master Azazel
  • 612
  • 1
  • 12
  • 32
John Alexander Betts
  • 4,718
  • 8
  • 47
  • 72

1 Answers1

19

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.
Aritz
  • 30,971
  • 16
  • 136
  • 217
  • From the OmniFaces showcase: "The UI which you see on this showcase is done by PrimeFaces 6.1" – Jasper de Vries Jan 03 '18 at 09:47
  • @JasperdeVries: `Please note that OmniFaces is a JSF utility library, not a JSF UI/component library. The UI which you see on this showcase is done by PrimeFaces 6.1, with a little bit of custom CSS.` I think the whole paragraph backs this answer up. – Aritz Jan 03 '18 at 10:55