<?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 Adding new Associations in Freemarker in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/adding-new-associations-in-freemarker/m-p/177506#M130636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently trying to add a new association to an element inside of a FreeMarker template. I have added my own domain model, where one TextType can have many elements of Text. So, when creating my two data types I don't have any problems. Now I tried to change the association during display (just as a test). However it seems to me that one can only read, but not write the associations inside my freemarker code. What I would like to have, would be something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;document.assocs["cns:linkedTextType"][0] = linkedTextType&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;This does not throw an exception, but when reading that particular Text Node again, the old association still exists instead of the one I set there, as if it does not get written into my node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible at all with Freemarker? Thanks for any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Alexander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2008 13:01:35 GMT</pubDate>
    <dc:creator>alr</dc:creator>
    <dc:date>2008-09-22T13:01:35Z</dc:date>
    <item>
      <title>Adding new Associations in Freemarker</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-new-associations-in-freemarker/m-p/177506#M130636</link>
      <description>Hello,I am currently trying to add a new association to an element inside of a FreeMarker template. I have added my own domain model, where one TextType can have many elements of Text. So, when creating my two data types I don't have any problems. Now I tried to change the association during display</description>
      <pubDate>Mon, 22 Sep 2008 13:01:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-new-associations-in-freemarker/m-p/177506#M130636</guid>
      <dc:creator>alr</dc:creator>
      <dc:date>2008-09-22T13:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new Associations in Freemarker</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-new-associations-in-freemarker/m-p/177507#M130637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Normally one will use JavaScript for any changes in repository. Freemarker is a presentation technology, not content manipulation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Another) Alexander&amp;nbsp; &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>Mon, 22 Sep 2008 14:37:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-new-associations-in-freemarker/m-p/177507#M130637</guid>
      <dc:creator>alexander</dc:creator>
      <dc:date>2008-09-22T14:37:19Z</dc:date>
    </item>
  </channel>
</rss>

