<?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: TypeError: Alfresco.FormUI is not a constructor ??? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/typeerror-alfresco-formui-is-not-a-constructor/m-p/288221#M241351</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;unfortunately, the form.get.head.ftl is useless (empty) in Alfresco 4.2, so you actually have not included the necessary dependencies anymore. You should adapt any custom component to the new style of web scripts that no longer have a .head.ftl - especially if you want to use the Forms API. Then you can include the new file form.dependencies.inc which contains all the relevant imports. There are also form.css.ftl and form.js.ftl with (about) the same dependencies - I am not sure which one will stay with us in the long run though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Apr 2014 08:11:29 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2014-04-17T08:11:29Z</dc:date>
    <item>
      <title>TypeError: Alfresco.FormUI is not a constructor ???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/typeerror-alfresco-formui-is-not-a-constructor/m-p/288218#M241348</link>
      <description>I'm struggling for many days to display my popUp on my dashlet &amp;amp; I got this error in the "simple-dialog.js"TypeError: Alfresco.FormUI is not a constructorPLEASE HELP ME to resolve it Thnx &amp;amp; regards</description>
      <pubDate>Wed, 16 Apr 2014 08:23:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/typeerror-alfresco-formui-is-not-a-constructor/m-p/288218#M241348</guid>
      <dc:creator>yascorp</dc:creator>
      <dc:date>2014-04-16T08:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: Alfresco.FormUI is not a constructor ???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/typeerror-alfresco-formui-is-not-a-constructor/m-p/288219#M241349</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;have you made sure that the form JS / CSS dependencies have been properly included / loaded where you want to use the simple-dialog? In my experience, this is typically a symptom of using simple-dialog to display a form when the dependencies are not available. simple-dialog itself works fine without the form dependencies as long as you do not call the /share/service/components/form web script to populate its HTML.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 10:09:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/typeerror-alfresco-formui-is-not-a-constructor/m-p/288219#M241349</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-04-16T10:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: Alfresco.FormUI is not a constructor ???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/typeerror-alfresco-formui-is-not-a-constructor/m-p/288220#M241350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your fast answer !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have include all the dependencies I used in my head.ftl&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;#include "../component.head.inc"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;#include "../form/form.get.head.ftl"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!– Simple Dialog –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;@script type="text/javascript" src="${page.url.context}/res/modules/simple-dialog.js"&amp;gt;&amp;lt;/@script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!– file-upload –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;@script type="text/javascript" src="${page.url.context}/res/components/upload/file-upload.js"&amp;gt;&amp;lt;/@script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!– Resize –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;@script type="text/javascript" src="${page.url.context}/res/yui/resize/resize.js"&amp;gt;&amp;lt;/@script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!– list-news&amp;nbsp; –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;@link rel="stylesheet" type="text/css" href="${page.url.context}/res/components/dashlets/list-news.css" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;@script type="text/javascript" src="${page.url.context}/res/components/dashlets/list-news.js"&amp;gt;&amp;lt;/@script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You think my head.ftl isn't complete ?!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 10:17:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/typeerror-alfresco-formui-is-not-a-constructor/m-p/288220#M241350</guid>
      <dc:creator>yascorp</dc:creator>
      <dc:date>2014-04-16T10:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: Alfresco.FormUI is not a constructor ???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/typeerror-alfresco-formui-is-not-a-constructor/m-p/288221#M241351</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;unfortunately, the form.get.head.ftl is useless (empty) in Alfresco 4.2, so you actually have not included the necessary dependencies anymore. You should adapt any custom component to the new style of web scripts that no longer have a .head.ftl - especially if you want to use the Forms API. Then you can include the new file form.dependencies.inc which contains all the relevant imports. There are also form.css.ftl and form.js.ftl with (about) the same dependencies - I am not sure which one will stay with us in the long run though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 08:11:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/typeerror-alfresco-formui-is-not-a-constructor/m-p/288221#M241351</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-04-17T08:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: Alfresco.FormUI is not a constructor ???</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/typeerror-alfresco-formui-is-not-a-constructor/m-p/288222#M241352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank's Axel for your reply, so I'm gonna try to learn much more about this approach !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 07:06:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/typeerror-alfresco-formui-is-not-a-constructor/m-p/288222#M241352</guid>
      <dc:creator>yascorp</dc:creator>
      <dc:date>2014-04-18T07:06:24Z</dc:date>
    </item>
  </channel>
</rss>

