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="http://liferay.com/tld/clay" %>

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:

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

« Using Liferay Util Whitespace RemoverClay Alerts »
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助