<?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: Problem passing JavaScript function in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-passing-javascript-function/m-p/236382#M189512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are not assigning the method to the slot on the model with the line …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;site.listMembers = sites[index].listMembers;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;.. you are assigning the result of this method which is a Map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is why you get the error you are seeing when executing the Freemarker template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Oct 2010 14:22:04 GMT</pubDate>
    <dc:creator>rwetherall</dc:creator>
    <dc:date>2010-10-25T14:22:04Z</dc:date>
    <item>
      <title>Problem passing JavaScript function</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-passing-javascript-function/m-p/236381#M189511</link>
      <description>Hello,I've got a problem here. I can't pass the method site.listMembers as a JavaScript function so FreeMarker will use it.I have to add a property that comes with an aspect to the site object. Because the site objects returned by siteService.listUserSites() is a Java object I can't augment it with</description>
      <pubDate>Tue, 19 Oct 2010 19:56:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-passing-javascript-function/m-p/236381#M189511</guid>
      <dc:creator>dolo</dc:creator>
      <dc:date>2010-10-19T19:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem passing JavaScript function</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-passing-javascript-function/m-p/236382#M189512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are not assigning the method to the slot on the model with the line …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;site.listMembers = sites[index].listMembers;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;.. you are assigning the result of this method which is a Map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is why you get the error you are seeing when executing the Freemarker template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 14:22:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-passing-javascript-function/m-p/236382#M189512</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2010-10-25T14:22:04Z</dc:date>
    </item>
  </channel>
</rss>

