JavaServer Faces 2.2 feature functions

The JavaServer Faces (JSF) 2.2 feature provides full support for the JSF 2.2 specification.

Descriptions of JSF 2.2 functions are provided in the JSF 2.2 specification and are not fully described here. However, some of the key enhancements are as follows:

  • Faces Flows enables developers to logically group JSF views to represent modules of functions. Each module has a well-defined set of entry and exit points. Combining modules creates a flow of functions. An example of a flow of functions is an order checkout process. Read section 7.5 of the JSF 2.2 specification.
  • Resource Library Contracts enable resource libraries to reside in the contracts directory of the web-app root directory, or in the META-INF/contracts entry name in the JAR file. Read section 10.1.3 of the JSF 2.2 specification.
  • JSF 2.2 introduced the ability for applications to use stateless views. Read section of the JSF 2.2 specification.
  • JSF 2.2 can handle HTML5 attributes through pass-through elements and pass-through attributes. Read section 10.1.4 of the JSF 2.2 specification