<?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: Velocity templates instead of xls in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/velocity-templates-instead-of-xls/m-p/65706#M41631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ariel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your answer. I have already created a new issue in Jira, it is &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/browse/WCM-110" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/WCM-110&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I'm wondering: when you say that it is really easy to do, you mean that it is easy for the Alfresco team to develop the Velocity support or easy for a developer like me that wants to personalize Alfresco to be able to use Velocity templating. If you mean the latter please point me in the right direction and any improvement that I make will be a contribution for sure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your valuable help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Waldemar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Oct 2006 13:06:31 GMT</pubDate>
    <dc:creator>walbar</dc:creator>
    <dc:date>2006-10-31T13:06:31Z</dc:date>
    <item>
      <title>Velocity templates instead of xls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/velocity-templates-instead-of-xls/m-p/65704#M41629</link>
      <description>Hi,I finished the great WCM tutorial and I would like to start making some "advanced" tests. Would anyone point me in the right direction on how to use Velocity to write my templates? I haven't found any docs about it, actually I wonder if that is possible nowadays (I see FreeMaker is a possibility</description>
      <pubDate>Mon, 30 Oct 2006 21:54:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/velocity-templates-instead-of-xls/m-p/65704#M41629</guid>
      <dc:creator>walbar</dc:creator>
      <dc:date>2006-10-30T21:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Velocity templates instead of xls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/velocity-templates-instead-of-xls/m-p/65705#M41630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;there is no current plan for us to support velocity templates.&amp;nbsp; however, it's really easy to do.&amp;nbsp; and we will sooner or later be making it possible to add your own presention template engines to the system (and even contribute them back to our codebase).&amp;nbsp; it will be sooner if you file a feature request in jira (&lt;/SPAN&gt;&lt;A href="http://issues.alfresco.org" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.org&lt;/A&gt;&lt;SPAN&gt;) &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 03:35:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/velocity-templates-instead-of-xls/m-p/65705#M41630</guid>
      <dc:creator>arielb</dc:creator>
      <dc:date>2006-10-31T03:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Velocity templates instead of xls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/velocity-templates-instead-of-xls/m-p/65706#M41631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ariel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your answer. I have already created a new issue in Jira, it is &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/browse/WCM-110" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/WCM-110&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I'm wondering: when you say that it is really easy to do, you mean that it is easy for the Alfresco team to develop the Velocity support or easy for a developer like me that wants to personalize Alfresco to be able to use Velocity templating. If you mean the latter please point me in the right direction and any improvement that I make will be a contribution for sure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your valuable help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Waldemar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 13:06:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/velocity-templates-instead-of-xls/m-p/65706#M41631</guid>
      <dc:creator>walbar</dc:creator>
      <dc:date>2006-10-31T13:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Velocity templates instead of xls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/velocity-templates-instead-of-xls/m-p/65707#M41632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks a lot for your answer. I have already created a new issue in Jira, it is &lt;A href="http://issues.alfresco.com/browse/WCM-110" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/WCM-110&lt;/A&gt;.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;yay!&amp;nbsp; thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Now I'm wondering: when you say that it is really easy to do, you mean that it is easy for the Alfresco team to develop the Velocity support or easy for a developer like me that wants to personalize Alfresco to be able to use Velocity templating. If you mean the latter please point me in the right direction and any improvement that I make will be a contribution for sure.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;well - it would be easy enough for us to do - but the intention is to open up this part of the product up to customization since there are so many rendering technologies out there that would be very difficult for us to anticipate and support all of them.&amp;nbsp; so, yes, the expectation is that you would help us with that and that we'll enable you to customize the product in this area as easily as possible.&amp;nbsp; for the release, we'll have reference implementations of what we're now calling rendering engines for freemarker, xslt, and xsl-fo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i can't point you at anything quite yet since the customization mechanism isn't in place yet.&amp;nbsp; however, in the end i anticipate you'll be implementing a class that will look something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;public class VelocityRenderingEngine implements RenderingEngine&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void render(Document formInstanceData, Map&amp;lt;String, String&amp;gt; parameters, OutputStream out) { … }&lt;BR /&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;/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;there are a bunch more details here relating to callback functions from the template that we should discuss in more detail.&amp;nbsp; i'll try and write up a spec for this on the wiki in the near future for you (and everyone else) to review so we can ensure that this will meet your criteria.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 16:41:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/velocity-templates-instead-of-xls/m-p/65707#M41632</guid>
      <dc:creator>arielb</dc:creator>
      <dc:date>2006-10-31T16:41:50Z</dc:date>
    </item>
  </channel>
</rss>

