<?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: Differences between Web Script and Dashlet ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/differences-between-web-script-and-dashlet/m-p/265311#M218441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A Dashlet is a WebScript that is assigned to the "dashlet" family (or "user-dashlet" or "site-dashlet" family if it is user/site specific). However, this WebScript has an associated .head.ftl file which defined JavaScript and CSS resource requests and these resources are loaded into the HTML &amp;lt;head&amp;gt; but they are ONLY included in the page if specifically requested.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the WebScript is run on a dashboard it is being run on a page that will output the requests for CSS and JavaScript resources and will be able to function. When the dashlet is run within the context of LifeRay it is not making those requests. However, the error that you're experiencing is because the WebScript is dependent upon certain arguments being passed to it which are not created when in the Portlet context (i.e. the args.htmlid).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So in summary a Dashlet IS a WebScript but one that can only be run within the context of a Share dashboard,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2012 09:03:19 GMT</pubDate>
    <dc:creator>ddraper</dc:creator>
    <dc:date>2012-02-20T09:03:19Z</dc:date>
    <item>
      <title>Differences between Web Script and Dashlet ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/differences-between-web-script-and-dashlet/m-p/265310#M218440</link>
      <description>Hi everyone,I'm using Alfresco 3.4e (and Liferay 6.0) and I have already succeeded at integrating the 3 Alfresco's default portlet to Liferay.I have also developed a quick "helloword" web script in Alfresco Share which is fully integrated in Liferay too.And… my question is : what is the difference b</description>
      <pubDate>Sun, 19 Feb 2012 15:54:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/differences-between-web-script-and-dashlet/m-p/265310#M218440</guid>
      <dc:creator>albikai</dc:creator>
      <dc:date>2012-02-19T15:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between Web Script and Dashlet ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/differences-between-web-script-and-dashlet/m-p/265311#M218441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A Dashlet is a WebScript that is assigned to the "dashlet" family (or "user-dashlet" or "site-dashlet" family if it is user/site specific). However, this WebScript has an associated .head.ftl file which defined JavaScript and CSS resource requests and these resources are loaded into the HTML &amp;lt;head&amp;gt; but they are ONLY included in the page if specifically requested.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the WebScript is run on a dashboard it is being run on a page that will output the requests for CSS and JavaScript resources and will be able to function. When the dashlet is run within the context of LifeRay it is not making those requests. However, the error that you're experiencing is because the WebScript is dependent upon certain arguments being passed to it which are not created when in the Portlet context (i.e. the args.htmlid).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So in summary a Dashlet IS a WebScript but one that can only be run within the context of a Share dashboard,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 09:03:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/differences-between-web-script-and-dashlet/m-p/265311#M218441</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2012-02-20T09:03:19Z</dc:date>
    </item>
  </channel>
</rss>

