JSF Facets

A project facet is a specific unit of functionality that you can add to a project when that functionality is required. When a project facet is added to a project, it can add natures, builders, classpath entries, and resources to a project, depending on the characteristics of the particular project. JSF facets define the characteristics of your JSF enabled Web application. The JSF facets specify the requirements and constraints that apply to your JSF project.

The JSF facets supply a set behaviors and capabilities to your Web application. In order to use the JSF tools the JSF facets and any other facet dependencies must be added to your project. The JSF facets are:

Table 1. JSF facets
Facet name Description Dependencies
JavaServer Faces (IBM Compatibility)

Enables the basic functionality of the JSF tools and allows a Web developer to make use of the components defined in the JSF specification.

The components defined in the JSF specification, and enabled by the JavaServer Faces (IBM Compatibility) facet are available on the Standard Faces Components drawer of the Palette.

  • Dynamic Web Module v2.3+

  • JSTL v1.0+

  • JavaServer Faces v1.1+
JavaServer Faces (IBM Enhanced)

Allows a Web developer to use custom components from the IBM® JWL library in addition to the components defined in the JSF specification.

The components enabled by the JavaServer Faces (IBM Enhanced) are available on Enhanced Faces Components drawer of the Palette. The Enhanced Faces Components drawer contains both the components defined in the JSF specification and in JWL.

  • Dynamic Web Module v2.3+

  • JavaServer Faces (IBM Compatibility) v7.0+
Faces Component Development Allows a Web developer to create custom JSF components.

  • JavaServer Faces (IBM Compatibility) v7.0+
JavaServer Faces

This facet is contributed by the Web Tools Platform (WTP) Project. It supplies some basic behaviors and capabilities that are associated with JavaServer Faces, including:

  • JavaServer Faces v1.1 facet depends on Dynamic Web Module v2.3+

  • JavaServer Faces v1.2 facet depends on Dynamic Web Module v2.5+

Note: The dependencies listed in table above may require the addition of additional project facets. When adding project facets to a project, you will be prompted to add any additional project facets.

For more information about adding a JSF facet to your Web application, refer to Enabling Faces technology in an existing Web application.

 

Related tasks

Enabling Faces technology in an existing Web application