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:

Each article contains a set of examples along with a screenshot of the resulting UI.

« Liferay UI Icon HelpLiferay Front-end Add Menu »
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています