<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic taglib IN FreeMarket in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/taglib-in-freemarket/m-p/191059#M144189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anybody tried to use Alfresco taglib-tags like a:actionLink and r:actions etc in FreeMarker ftl file? Freemarker.org gives an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;In FreeMarker &amp;lt;html:form action="/query"&amp;gt;…&amp;lt;/html:form&amp;gt;&amp;nbsp; is just static text, so it is printed to the output as is, like any other XML or HTML markup. JSP tags are just FreeMarker directives, nothing special, so you use FreeMarker syntax for calling them, not JSP syntax: &amp;lt;@html.form action="/query"&amp;gt;…&amp;lt;/@html.form&amp;gt;. Note that in the FreeMarker syntax you don't use ${…} in parameters as in JSP, and you don't quote the parameter values. So this is WRONG:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;#– WRONG: –&amp;gt;&lt;BR /&gt;&amp;lt;@my.jspTag color="${aVarialbe}" name="aStringLiteral"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100" height=${a+b} /&amp;gt;&amp;nbsp; &lt;BR /&gt;and this is good:&lt;BR /&gt;&amp;lt;#– Good: –&amp;gt;&lt;BR /&gt;&amp;lt;@my.jspTag color=theColor name="aStringLiteral"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width=100 height=a+b /&amp;gt;&amp;nbsp; &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but it doesn't work in alfresco :cry: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I'm trying to use&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;&amp;lt;@a.actionLink &amp;gt;&lt;/STRONG&gt;&lt;SPAN&gt; it displas error something like "undefined tag a"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I couldn't use the construction &lt;/SPAN&gt;&lt;STRONG&gt;&amp;lt;#assign a=JspTaglibs["/WEB-INF/alfresco.tld"]&amp;gt;&lt;/STRONG&gt;&lt;SPAN&gt; either&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2008 08:41:54 GMT</pubDate>
    <dc:creator>asianirish</dc:creator>
    <dc:date>2008-10-07T08:41:54Z</dc:date>
    <item>
      <title>taglib IN FreeMarket</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/taglib-in-freemarket/m-p/191059#M144189</link>
      <description>Has anybody tried to use Alfresco taglib-tags like a:actionLink and r:actions etc in FreeMarker ftl file? Freemarker.org gives an example:In FreeMarker &amp;lt;html:form action="/query"&amp;gt;…&amp;lt;/html:form&amp;gt;&amp;nbsp; is just static text, so it is printed to the output as is, like any other XML or HTML markup.</description>
      <pubDate>Tue, 07 Oct 2008 08:41:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/taglib-in-freemarket/m-p/191059#M144189</guid>
      <dc:creator>asianirish</dc:creator>
      <dc:date>2008-10-07T08:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: taglib IN FreeMarket</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/taglib-in-freemarket/m-p/191060#M144190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Those are made available via the Freemarker servlet (which is the topic of the page that quote came from), which isn't used in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 09:11:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/taglib-in-freemarket/m-p/191060#M144190</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2008-10-07T09:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: taglib IN FreeMarket</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/taglib-in-freemarket/m-p/191061#M144191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Mike for replay. As I've understood it isn't possible to add taglibs into ftls&amp;nbsp; :cry: Or maybe someone here has experience of doing a trick to make it possible :?:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 10:24:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/taglib-in-freemarket/m-p/191061#M144191</guid>
      <dc:creator>asianirish</dc:creator>
      <dc:date>2008-10-07T10:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: taglib IN FreeMarket</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/taglib-in-freemarket/m-p/191062#M144192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've found this post about JForum:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.jforum.net/posts/list/3422.page" rel="nofollow noopener noreferrer"&gt;http://www.jforum.net/posts/list/3422.page&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Nov 2008 22:13:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/taglib-in-freemarket/m-p/191062#M144192</guid>
      <dc:creator>robegf</dc:creator>
      <dc:date>2008-11-30T22:13:35Z</dc:date>
    </item>
  </channel>
</rss>

