<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Using Clay taglib for Clay components from ADT</title>
  <link rel="self" href="https://liferay.dev/ca/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112319154" />
  <subtitle>Using Clay taglib for Clay components from ADT</subtitle>
  <id>https://liferay.dev/ca/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112319154</id>
  <updated>2026-04-28T08:40:40Z</updated>
  <dc:date>2026-04-28T08:40:40Z</dc:date>
  <entry>
    <title>RE: Using Clay taglib for Clay components from ADT</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119707631" />
    <author>
      <name>Satyanarayana kolliboyin</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119707631</id>
    <updated>2020-08-05T07:35:38Z</updated>
    <published>2020-08-05T07:35:38Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;blockquote&gt;I wanted to give an example as to how I used it in a freemarker template in DXP 7.2.&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;amp;lt;@clay["icon"] symbol="angle-down" /&amp;amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;In my case under page fragments need to use with square brackets instead of less than and greather than symbols.&lt;br&gt;Example 1: [@clay["icon"] symbol="angle-down" /]&lt;br&gt;Example 2:&amp;nbsp;&amp;lt;a class="text-black"&lt;br&gt;&amp;nbsp; &amp;nbsp; href="http://www.facebook.com/pages/Liferay/45119213107"&amp;nbsp;&lt;br&gt;&amp;nbsp; &amp;nbsp; target="_blank"&amp;gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;span class="hide"&amp;gt;Facebook&amp;lt;/span&amp;gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [@clay["icon"] symbol="social-facebook" /]&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/a&amp;gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Satyanarayana kolliboyin</dc:creator>
    <dc:date>2020-08-05T07:35:38Z</dc:date>
  </entry>
  <entry>
    <title>RE: Using Clay taglib for Clay components from ADT</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119073455" />
    <author>
      <name>Yannik Horndt</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119073455</id>
    <updated>2020-04-30T13:34:06Z</updated>
    <published>2020-04-30T13:34:06Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Although being totally correct, it threw me off as to why you had the "\[code\]" tag in front of it. But realizing after a minute that it's probably some sort of forum mishap that this is still shown.&lt;br&gt;&lt;br&gt;I wanted to give an example as to how I used it in a freemarker template in DXP 7.2.&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;amp;lt;@clay["icon"] symbol="angle-down" /&amp;amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;I think that the Liferay space is overflowing with information, and although there have been improvements to the documentation from the side of the organisation, there's still a lot to be done, so I try to add snippets that I've used to relevant topics, because often, that's what I needed when searching for an answer.&lt;br&gt;&lt;br&gt;(I know that this is a year old post) But thanks for posting the answer to your own question, this is very helpful to people searching the same thing and double frustrating if the op just writes "Never mind, found the answer" but doesn't post the answer ;).&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Yannik Horndt</dc:creator>
    <dc:date>2020-04-30T13:34:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: Using Clay taglib for Clay components from ADT</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112347935" />
    <author>
      <name>Aritz Galdos</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112347935</id>
    <updated>2019-02-14T13:26:51Z</updated>
    <published>2019-02-14T13:26:51Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;All right.. the answare was in the online doc&lt;br&gt;&lt;br&gt;https://dev.liferay.com/es/develop/tutorials/-/knowledge_base/7-1/using-the-clay-taglib-in-your-portlets&lt;br&gt;​​​​​​​&lt;br&gt;&lt;br&gt;The Liferay Clay taglib is also available via a macro for your FreeMarker theme templates and web content templates. Follow this syntax:&lt;pre&gt;&lt;code&gt;[code]&amp;amp;lt;@clay["tag-name"] attribute="string value" attribute=10 /&amp;amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Aritz Galdos</dc:creator>
    <dc:date>2019-02-14T13:26:51Z</dc:date>
  </entry>
  <entry>
    <title>Using Clay taglib for Clay components from ADT</title>
    <link rel="alternate" href="https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112319153" />
    <author>
      <name>Aritz Galdos</name>
    </author>
    <id>https://liferay.dev/ca/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112319153</id>
    <updated>2019-02-12T16:49:05Z</updated>
    <published>2019-02-12T16:49:05Z</published>
    <summary type="html">Hi community&lt;br /&gt;&lt;br /&gt;What would be the correct way to render clay components from a Freemarker template?&lt;br /&gt;&lt;br /&gt;Can I use the clay taglib from within a Freemarker template? How?&lt;br /&gt;&lt;br /&gt;​​​​​​​Regards!</summary>
    <dc:creator>Aritz Galdos</dc:creator>
    <dc:date>2019-02-12T16:49:05Z</dc:date>
  </entry>
</feed>
