Liferay Faces Portal is distributed in a
.jar file. You can add Liferay Faces Portal as a dependency for your portlet projects, in order to use its Liferay-specific utilities and UI components. Liferay Faces Portal is included in a JSF portlet project automatically when created using Liferay IDE/Developer Studio. Examine Figure 1 below and notice you have a
liferay-faces-portal-[version].jar in your portlet’s library.
Some of the features included in Liferay Faces Portal are:
Utilities: Provides the
LiferayPortletHelperUtilwhich contains a variety Portlet-API and Liferay-specific convenience methods.
JSF Components: Provides a set of JSF equivalents for
Expression Language: Adds a set of EL keywords such as
liferayfor getting Liferay-specific info, and
i18nfor integration with out-of-the-box Liferay internationalized messages.
Great! You now have an understanding of what Liferay Faces Portal is, and what it accomplishes in your JSF application.