<?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 Re: freemarker.template.SimpleHash error - cm:title in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-simplehash-error-cm-title/m-p/243861#M196991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is not null and I am able to access it in the webscript.&amp;nbsp; I then can set it to a variable to use it in the ftl.&amp;nbsp; This approach is less than ideal because it will force changes in other webscripts too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; model.nodeTitle = model.content.properties["cm:title"];&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Oct 2009 20:31:16 GMT</pubDate>
    <dc:creator>rfischer</dc:creator>
    <dc:date>2009-10-06T20:31:16Z</dc:date>
    <item>
      <title>freemarker.template.SimpleHash error - cm:title</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-simplehash-error-cm-title/m-p/243859#M196989</link>
      <description>I am having an issue with accessing the title field in my ftl.&amp;nbsp; I use a webscript to find a node and the following line in the ftl&amp;nbsp; throws a freemarker issue.&amp;nbsp; The code had worked in previous versions.&amp;lt;title&amp;gt;${content.properties["cm:title"]}&amp;lt;/title&amp;gt;‍‍‍— error thrownExpecting a string, da</description>
      <pubDate>Tue, 06 Oct 2009 18:18:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-simplehash-error-cm-title/m-p/243859#M196989</guid>
      <dc:creator>rfischer</dc:creator>
      <dc:date>2009-10-06T18:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: freemarker.template.SimpleHash error - cm:title</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-simplehash-error-cm-title/m-p/243860#M196990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you sure the property is set? Try&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;title&amp;gt;${content.properties["cm:title"]!"No title"}&amp;lt;/title&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 18:57:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-simplehash-error-cm-title/m-p/243860#M196990</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-10-06T18:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: freemarker.template.SimpleHash error - cm:title</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-simplehash-error-cm-title/m-p/243861#M196991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is not null and I am able to access it in the webscript.&amp;nbsp; I then can set it to a variable to use it in the ftl.&amp;nbsp; This approach is less than ideal because it will force changes in other webscripts too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; model.nodeTitle = model.content.properties["cm:title"];&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 20:31:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-simplehash-error-cm-title/m-p/243861#M196991</guid>
      <dc:creator>rfischer</dc:creator>
      <dc:date>2009-10-06T20:31:16Z</dc:date>
    </item>
  </channel>
</rss>

