Using Liferay Front-end Taglibs in Your Portlet

The Liferay Front-end tag library provides a set of tags for creating common front-end UI components in your app.

To use the Front-end taglib in you apps, add the following declaration to your JSP:

<%@ taglib prefix="liferay-frontend" uri="http://liferay.com/tld/frontend" %>

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

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

The following Front-end UI components are covered in this section of tutorials:

The tutorials in this section cover how to create these components with the Front-end taglibs. Each tutorial contains a set of examples along with a screenshot of the resulting UI.

« Liferay UI Icon HelpLiferay Front-end Add Menu »
Was this article helpful?
0 out of 0 found this helpful