<?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 date error in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-date-error/m-p/145237#M101483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can track the status of this improvement request in our JIRA:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://issues.alfresco.com/browse/WCM-1030" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/WCM-1030&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jan 2008 10:30:46 GMT</pubDate>
    <dc:creator>kvc</dc:creator>
    <dc:date>2008-01-10T10:30:46Z</dc:date>
    <item>
      <title>Freemarker template date error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-date-error/m-p/145234#M101480</link>
      <description>Hi,Using the following code to get the current date in a freemarker template (as stated in the Alfresco template guide)&amp;lt;#assign datetimeformat="EEE, dd MMM yyyy HH:mm:ss zzz"&amp;gt;${date?string(datetimeformat)} ‍‍gets me an error message like this:error regenerating rendition using resolucoes_sgp.f</description>
      <pubDate>Mon, 10 Dec 2007 12:42:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-date-error/m-p/145234#M101480</guid>
      <dc:creator>paulossilva</dc:creator>
      <dc:date>2007-12-10T12:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker template date error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-date-error/m-p/145235#M101481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have identical working code in many templates - are you sure that is the line the template is failing on?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 17:00:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-date-error/m-p/145235#M101481</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2008-01-04T17:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker template date error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-date-error/m-p/145236#M101482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think i've just spotted the problem &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume you are using FreeMarker for WCM rather than standard Alfresco templates. Unfortunately the WCM FreeMarker integration does not have the same model available for it - which is very annoying I'm sure you'll agree. Basically the "current date" is missing in FreeMarker by default (very odd isn't it!) so we had to add it -and i think it's missing from the model you get in WCM…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 17:09:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-date-error/m-p/145236#M101482</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2008-01-04T17:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker template date error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-date-error/m-p/145237#M101483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can track the status of this improvement request in our JIRA:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://issues.alfresco.com/browse/WCM-1030" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/WCM-1030&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 10:30:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-template-date-error/m-p/145237#M101483</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2008-01-10T10:30:46Z</dc:date>
    </item>
  </channel>
</rss>

