Using Clay in JSPs
Using taglibs
Add the following snippet into either the JSP file you're using the component in, or in the module's init.jsp
file:
Copied!
<%@ taglib prefix="clay" uri="http://liferay.com/tld/clay" %>
The syntax for using Clay taglibs follows this principle:
Copied!
<clay:componentName backendProperty="<%= Value %>" property="Property Value" />
This is how it's supposed to look like with a ClayButton:
Copied!
<clay:button label="<%= Button Label %>" style="primary" />
Clay taglibs available
Clay taglibs provide the following UI components for your apps: