<?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: Import jQuery or other library in controller script? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/import-jquery-or-other-library-in-controller-script/m-p/215422#M168552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, thanks a lot for your input. If it´s possible to get https working I think that the connector API would suit my needs perfectly. I'm not really interested in AJAX functionality, I just want a simple way to connect to a remote web service, retrieve information and present it in a dashlet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Dec 2009 17:27:17 GMT</pubDate>
    <dc:creator>gronfelt</dc:creator>
    <dc:date>2009-12-10T17:27:17Z</dc:date>
    <item>
      <title>Import jQuery or other library in controller script?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/import-jquery-or-other-library-in-controller-script/m-p/215418#M168548</link>
      <description>I would like to use a library like jQuery or YUI in my controller scripts. However, when I try to import these libraries there are always some errors, because they expect to be in a browser environment, using objects such as "document" or "window".Is there anyway around this?</description>
      <pubDate>Thu, 10 Dec 2009 11:14:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/import-jquery-or-other-library-in-controller-script/m-p/215418#M168548</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2009-12-10T11:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Import jQuery or other library in controller script?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/import-jquery-or-other-library-in-controller-script/m-p/215419#M168549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would just pull the functions you need out of the libraries - what are you trying to achieve?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other path you might try going down is to create "fake" document and window JavaScript objects - although I suspect you'll end up stubbing-out half the browser's API in order to keep the libraries happy!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 13:06:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/import-jquery-or-other-library-in-controller-script/m-p/215419#M168549</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-12-10T13:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Import jQuery or other library in controller script?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/import-jquery-or-other-library-in-controller-script/m-p/215420#M168550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to make remote calls to another web service, so I'd like to use the simplified AJAX functions. I've seen that Alfresco Share has a remote API, but as far as I understand it only supports http (I'd need https), right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 16:37:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/import-jquery-or-other-library-in-controller-script/m-p/215420#M168550</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2009-12-10T16:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Import jQuery or other library in controller script?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/import-jquery-or-other-library-in-controller-script/m-p/215421#M168551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem you'll have is that the XmlHttpRequest object isn't supported by Rhino, so you won't get any AJAX-style functionality anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The remote/connector API should support https as far as I'm aware (please raise a JIRA bug if this doesn't work); you'd need to update or add new endpoints in the webscript-framework configuration.&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>Thu, 10 Dec 2009 17:16:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/import-jquery-or-other-library-in-controller-script/m-p/215421#M168551</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-12-10T17:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Import jQuery or other library in controller script?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/import-jquery-or-other-library-in-controller-script/m-p/215422#M168552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, thanks a lot for your input. If it´s possible to get https working I think that the connector API would suit my needs perfectly. I'm not really interested in AJAX functionality, I just want a simple way to connect to a remote web service, retrieve information and present it in a dashlet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 17:27:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/import-jquery-or-other-library-in-controller-script/m-p/215422#M168552</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2009-12-10T17:27:17Z</dc:date>
    </item>
  </channel>
</rss>

