Using the Clay Taglib in Your portlets

The Liferay Clay tag library provides a set of tags for creating Clay UI components in your app.

To use the Clay taglib in your apps, add the following declaration to your JSP:

<%@ taglib prefix="clay" uri="" %>

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

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

Clay taglibs provide the following UI components for your apps:

This section covers how to create these components with the Clay taglibs. Each article contains a set of clay component examples along with a screenshot of the resulting UI.

« Using Liferay Util Whitespace RemoverClay Alerts »
Was this article helpful?
0 out of 0 found this helpful