<?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: Including Resources via *.head.ftl in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/including-resources-via-head-ftl/m-p/237113#M190243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you request a script that has a .head.ftl part, the framework will ensure the resources are in the &amp;lt;head&amp;gt; section of the response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, for an AJAX request (such as from the SimpleDialog module), browsers don't interpret the response as a "normal" page load and have to be told what to do. Currently, we support &amp;lt;script&amp;gt; blocks within AJAX responses (e.g. for setting i18n messages, etc.) but not dynamic loading of .js and .css files. It's on my list to add, but because it's a non-trivial problem to solve, it's not been prioritised yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's the reason why, for example, the documentlist.get.head.ftl file contains the .js and .css for all the actions UIs, such as assign workflow, copy to, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2009 07:59:54 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2009-08-24T07:59:54Z</dc:date>
    <item>
      <title>Including Resources via *.head.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/including-resources-via-head-ftl/m-p/237112#M190242</link>
      <description>Hey Guys,This is quite possibly a SURF question, but as I've hit it doing Share development I'll ask here.I've created a number of custom dashlets for Share; most of these are displayed on User and Site dashboards and work fine.&amp;nbsp; However it seems that when I want to call dashlets as modal dialogs -</description>
      <pubDate>Mon, 24 Aug 2009 07:11:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/including-resources-via-head-ftl/m-p/237112#M190242</guid>
      <dc:creator>rob_h</dc:creator>
      <dc:date>2009-08-24T07:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Including Resources via *.head.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/including-resources-via-head-ftl/m-p/237113#M190243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you request a script that has a .head.ftl part, the framework will ensure the resources are in the &amp;lt;head&amp;gt; section of the response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, for an AJAX request (such as from the SimpleDialog module), browsers don't interpret the response as a "normal" page load and have to be told what to do. Currently, we support &amp;lt;script&amp;gt; blocks within AJAX responses (e.g. for setting i18n messages, etc.) but not dynamic loading of .js and .css files. It's on my list to add, but because it's a non-trivial problem to solve, it's not been prioritised yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's the reason why, for example, the documentlist.get.head.ftl file contains the .js and .css for all the actions UIs, such as assign workflow, copy to, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 07:59:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/including-resources-via-head-ftl/m-p/237113#M190243</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-08-24T07:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Including Resources via *.head.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/including-resources-via-head-ftl/m-p/237114#M190244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your response, Mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 09:56:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/including-resources-via-head-ftl/m-p/237114#M190244</guid>
      <dc:creator>rob_h</dc:creator>
      <dc:date>2009-08-24T09:56:43Z</dc:date>
    </item>
  </channel>
</rss>

