Using the Liferay Util Taglib

The Liferay Util taglib is used to pull other resources into a portlet or theme. You can use it to specify which resources to insert at the bottom or top of the page’s HTML.

To use the Liferay-Util taglib, add the following declaration to your JSP:

<%@ taglib prefix="liferay-util" uri="" %>

The Liferay-Util taglib is also available via a macro for your FreeMarker theme templates and web content templates. Follow this syntax:

<@liferay_util["tag-name"] attribute="string value" attribute=10 />

This section covers the available Liferay Util tags you can use in your app to inject content into portlets and themes.

« Disabling All or Portions of the Management BarUsing Liferay Util Body Bottom »