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 to use its Liferay-specific utilities and UI components. When Liferay Faces Portal is included in a JSF portlet project, the com.liferay.faces.portal.[version].jar
file resides in the portlet’s library.
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 popular Liferay DXP JSP tags (not exhaustive):
liferay-ui:captcha
→portal:captcha
liferay-ui:input-editor
→portal:inputRichText
liferay-ui:search
→portal:inputSearch
liferay-ui:header
→portal:header
aui:nav
→portal:nav
aui:nav-item
→portal:navItem
aui:nav-bar
→portal:navBar
liferay-security:permissionsURL
→portal:permissionsURL
liferay-portlet:runtime
→portal:runtime
For more information, visit https://liferayfaces.org/web/guest/portal-showcase.
-
Expression Language: Adds a set of EL keywords such as
liferay
for getting Liferay-specific info, andi18n
for integration with out-of-the-box Liferay internationalized messages.