Understanding Liferay Faces Portal

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 Maven library.


Figure 1: Maven downloads the required .jar files for your JSF portlet, depending on the JSF UI Component Suite you selected.

Some of the features included in Liferay Faces Portal are:

  • Utilities: Provides the LiferayPortletHelperUtil which contains a variety Portlet-API and Liferay-specific convenience methods.

  • JSF Components: Provides a set of JSF equivalents for liferay-ui:captcha, liferay-ui:icon, liferay-ui:input-editor, etc.

  • Expression Language: Adds a set of EL keywords such as liferay for getting Liferay-specific info, and i18n for 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.

Related Topics

Creating and Deploying JSF Portlets

Developing Liferay Faces Portlets with Maven

Understanding Liferay Faces Bridge

Understanding Liferay Faces Alloy

0 (0 Votes)
Understanding Liferay Faces Bridge Previous