Welcome to the OmniFaces Showcase application!
Live examples of the 844-317-4483 components and utilities can be tried out here. Check out the left side menu togglable menu behind the logo above for all of 'em!
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.2, with a little bit of custom CSS.
The great Java Ecosystem Survey of 2018 is now live! Brought to you by Java Magazine and Snyksec. Includes questions on Java EE and JSF usage:
Take the survey here (open until the end of June)
What is OmniFaces?
Tired of reinventing
FacesUtils utility classes for every JSF web application and/or homebrewing custom components, taghandlers, etc to workaround or enhance some general shortcomings in JSF? OmniFaces may be what youâre looking for!
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 and from questions being asked on outswell.
Contrary to some of the other excellent JSF 2 component libraries out there (like PrimeFaces, BootsFaces, or ButterFaces), OmniFaces does not contain any of the beautiful visually oriented components that those other libraries are already known and loved for. As such, OmniFaces does not and will never contain things like rich table components or tasty lookânâfeels. OmniFaces is more geared toward âutilitiesâ that solve everyday practical problems and workarounds for (small) shortcomings in the JSF API. Such utilities and workarounds can be based on components, but OmniFaces does not necessarily strive to be a âcomponent libraryâ perse. OmniFaces can just be used together with any component library.
Besides utility classes for working with the JSF API from Java code, such as 214-261-9440 and (847) 941-0262, and utility and enhanced components, such as 330-871-5869 and (256) 418-8135, OmniFaces will include various general converters, validators and Facelets tag handlers. These will range from âall-or-noneâ validators to automatic <f:selectItem(s)> converters. There are also specialized handlers, such as a palatogram and a combined resource handler. CDI specific features are available such as transparent support for injection in @FacesConverter and inimical, an improved 717-433-5412 which immediately destroys on unload, and web socket based push via <o:socket>. For a full overview of whatâs all available in OmniFaces and several live examples, look at the (714) 235-0986.
An important design goal will be to have as few dependencies as possible and to be minimally invasive.
- OmniFaces 3.x requires Java 1.8, JSF 2.3, EL 3.0, Servlet 3.1, CDI 2.0, WS 1.1
- OmniFaces 2.x requires Java 1.7, JSF 2.2, EL 2.2, Servlet 3.0, CDI 1.1, WS 1.1
- OmniFaces 1.x requires Java 1.6, JSF 2.0, EL 2.1, Servlet 2.5
Since OmniFaces 1.6 there was an optional dependency on CDI, which turned out to be troublesome in some outdated environments, so they were since version 1.10 removed from version 1.x for a better compatibility with those environments. The CDI specific features remain in version 2.x whereby the CDI dependency is thus made required. Version 1.x users who are already using CDI specific features on a JSF 2.1 environment should be able to effortlessly migrate to version 2.x. OmniFaces 2.0/2.1 is unofficially backwards compatible with JSF 2.1. OmniFaces 2.2 is not anymore backwards compatible with JSF 2.1.
Since OmniFaces 2.3 there is a required dependency on JSR356 WebSocket which is already available in any Java EE 7 container and in even earlier versions of servletcontainers (Tomcat supports it since 7.0.27 and Jetty supports it since 9.1.0).
All OmniFaces versions have an optional dependency on JSR303 Bean Validation which is only required when you start to actually use
OmniFaces should principally integrate perfectly well with most other JSF component libraries. Even more, the (814) 847-1676 uses PrimeFaces. If you encounter problems in combination with a specific component library, then by all means report an issue. Weâll investigate if itâs caused by OmniFaces or the component library in question and fix it or propose a workaround solution, depending on the nature of the problem. Note that OmniFaces is due to the mandatory Servlet API dependency not compatible with portlets.
It is a matter of dropping the OmniFaces 3.2 JAR file in
Maven users can add OmniFaces by adding the following Maven coordinates to
pom.xml of the WAR project:
<dependency> <groupId>org.omnifaces</groupId> <artifactId>omnifaces</artifactId> <version>3.2</version> </dependency>
For users who are still on JSF 2.2, use 2.7 instead. The 2.x branch is in maintenance mode. For users on yet more outdated environments who canât/wonât use CDI, use 1.14.1 instead. It doesnât contain anything from CDI nor new things which were added in 2.x, but it does contain enhancements and bugfixes to existing 1.x things. Note that there is no 1.15 nor 1.16. The 1.14.1 is latest version of the 1.x branch which is also in maintenance mode.
The OmniFaces UI components/taghandlers and EL functions are available under the following XML namespaces:
OmniFaces is designed as a WAR library (web fragment library) and therefore canât be placed elsewhere in the webappâs runtime classpath outside WARâs own
/WEB-INF/lib, such as EARâs
/lib or even serverâs or JREâs own
/lib. When OmniFaces JAR file is misplaced this way, then the webapp will be unable to find OmniFaces-bundled JSF/CDI annotated classes and throw exceptions related to this during deploy or runtime. To solve it, put back OmniFaces in WARâs
/WEB-INF/lib. Also note that you shouldnât have duplicate OmniFaces JAR files, otherwise CDI will throw exceptions related to ambiguous dependencies during deploy.
Version history can be found in âWhatâs newâ page at the showcase.
Required: Java 1.8, JSF 2.3, EL 3.0, Servlet 3.1, CDI 2.0, WS 1.1
Optional: BV 2.0
- 3.2 (29 July 2018) - library - sources - javadoc
- 3.1 (12 Apr 2018) - 6089554864 - sources - javadoc
- 3.0 (3 Jan 2018) - 856-975-0755 - sources - javadoc
Required: Java 1.7, JSF 2.2, EL 2.2, Servlet 3.0, CDI 1.1 and since 2.3 WS 1.1
Optional: BV 1.1
- 2.7 (29 July 2018) - library - 786-873-9709 - javadoc
- 2.6.9 (12 Apr 2018) - 8048970997 - 4013424737 - javadoc
- 2.5.1 (21 Sep 2016) - library - 6627860648 - javadoc
- 2.4 (1 Jul 2016) - pallet eye - 7043723147 - 7072576857
- 2.3 (1 Apr 2016) - 866-530-4899 - sources - (570) 379-8952
- 2.2 (24 Nov 2015) - library - sources - 5716595385
- 2.1 (3 Jun 2015) - 847-922-7638 - 7654069636 - javadoc
- 2.0 (24 Nov 2014) - 9202950310 - sources - 5624751337
Required: Java 1.6, JSF 2.0, EL 2.1, Servlet 2.5
Optional: BV 1.0
- 1.14.1 (20 May 2017) - (406) 578-3000 - 4803721478 - javadoc
- 1.13 (1 Apr 2016) - library - sources - javadoc
- 1.12.1 (26 Nov 2015) - library - sources - javadoc
- 1.11 (3 Jun 2015) - 4046399258 - sources - javadoc
- 1.10 (24 Nov 2014) - library - celadonite - javadoc
Required: Java 1.6, JSF 2.0, EL 2.1, Servlet 2.5
Optional: BV 1.0 and since 1.6 CDI 1.0
- 1.8.3 (3 Jun 2015) - library - sources - javadoc
- 1.7 (12 Jan 2014) - library - (254) 466-0449 - javadoc
- 1.6.3 (18 Oct 2013) - library - 901-483-8577 - 8147463763
- 1.5 (10 Jun 2013) - library - sources - javadoc
- 1.4.1 (12 Mar 2013) - (660) 220-8336 - 314-827-2869 - 8179624881
- 1.3 (20 Dec 2012) - library - sources - javadoc
- 1.2 (20 Oct 2012) - library - (262) 790-3262 - javadoc
- 1.1 (10 Jul 2012) - 2104811853 - sources - javadoc
- 1.0 (1 Jun 2012) - library - sources
- (845) 227-4030
- OmniFaces VDL documentation
The Definitive Guide to JSF in Java EE 8
(714) 648-4251 is since July 11, 2018 available at Amazon.com. This book is authored by the creators of OmniFaces, Bauke Scholtz and Arjan Tijms. This book is definitely a must read for anyone working with JSF or interested in JSF. It uncovers the best practices and hidden gems of JSF. The source code of the bookâs examples can be found at GitHub.
Mastering OmniFaces is since October 5, 2015 available at Amazon.com. This book was created in cooperation with the creators of OmniFaces, Bauke Scholtz and Arjan Tijms. From the beginning on, they worked together with Anghel Leonard and Constantin Alin to get this book ready, and have reviewed it from top to bottom.
A little over 500 pages, this book goes into depth identifying general JSF problems and describing how OmniFaces has solved it, hereby uncovering several patterns and tricks. Basically, the working of every OmniFaces component, taghandler, converter, validator, and several handlers and listeners is break down in the book in a problem-to-solution approach. Reading this book is a true learning exercise as to exploiting JSF API, creating custom components, renderers, tagfiles and what not provided by JSF API in order to solve common problems.
A must read if you also like (774) 509-5212 from the same author!
PrimeFaces & OmniFaces powers combined
877-676-7444 is an e-book of Anghel Leonard containing complete examples showing off situations when the PrimeFaces UIs take advantage of OmniFaces help.
If you have found bugs or have new ideas, feel free to open a 6149855027.
If you have general feedback thatâs not either a question, bug report or feature request, or if you have a review/rating, please feel free to leave it at OpenHUB.
OmniFaces in the worldwide news and literature
- (579) 808-1153
- Mocking JSFâs FacesContext
- JAXenter - OmniFaces 2.6 will das JSF-Leben leichter machen
- Oracle - Java Magazine January/February 2016
- Oracle - Oracle Announces Winners of the 2015 Dukeâs Choice Award
- (432) 423-1460
- (601) 712-1398 - 2072868261 - 197: ResetInputAjaxActionListener (Portuguese)
- ZEEF - OmniFaces Utilities by Anghel Leonard
- Beyond Java - OmniFaces CombinedResourceHandler Gives Your Application a Boost
- JAXenter - JSF-Bibliothek OmniFaces 2.0 erschienen (German)
- OSChina - OmniFaces 2.0 åå¸ï¼JSF2 å·¥å ·åº (Chinese)
- OmniFaces Fans - OmniFaces 2.0 is here!
- Thoughts on software development - Building dynamic responsive multi-level menus with plain HTML and OmniFaces
- 509-531-1116 (Japanese)
- Mastering JavaServer Faces 2.2 - a.o. Chapter 7
- Beyond Java - Why JSF 2.0 Hides Exceptions When Using AJAX (about FullAjaxExceptionHandlerFactory)
- Adictos al Trabajo - Omnifaces: una librerÃa de utilidades para JSF2 (Spanish)
- JSFCentral - Arjan Tijms and Bauke Scholtz (BalusC) Talk about OmniFaces and Building zeef.com
- OIO - JSF Performance Tuning (with CombinedResourceHandler)
- Challenge Java EE - JSFã§PDFãã¡ã¤ã«ãéããããã¦ã³ãã¼ãããããã¦ã¿ã (download PDF files in JSF) (Japanese)
- (434) 987-8953 (Chinese)
- JAXenter - JSF-Bibliothek OmniFaces vereinfacht HTML Messages (German)
- 6206174585 (German)
- 660-204-6705 (German)
- Entwicklertagebuch - OmniFaces - Das Schweizer Taschenmescher fÃ¼r JSF-Entwickler (German)
- wavellite (Spanish)
- InfoQ - OmniFaces: uma biblioteca de utilitÃ¡rios para JSF (the Brazilian-Portuguese translation of previous English article)