<?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: Loading Share components with AJAX in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/loading-share-components-with-ajax/m-p/269534#M222664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;much of the Share product uses JavaScript components that work with AJAX. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can take a service - Clone it - modify to return data as say a JSON object vs HTML. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This would be done in the template pretty much the same way. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2013 21:11:08 GMT</pubDate>
    <dc:creator>michaelc</dc:creator>
    <dc:date>2013-01-23T21:11:08Z</dc:date>
    <item>
      <title>Loading Share components with AJAX</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/loading-share-components-with-ajax/m-p/269532#M222662</link>
      <description>Hi guys, Do anybody knows if is possible to load Share components/webscripts using AJAX?If I had to answer my own question I would say NO, because as far as I know FreeMarker templates, directives, components/webscripts and client-side dependencies are processed in the server side. Perhaps somebody</description>
      <pubDate>Wed, 23 Jan 2013 10:59:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/loading-share-components-with-ajax/m-p/269532#M222662</guid>
      <dc:creator>alejandrogarcia</dc:creator>
      <dc:date>2013-01-23T10:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Share components with AJAX</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/loading-share-components-with-ajax/m-p/269533#M222663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By the way, forgot to mention I have performing some tests in order to achieve it. If you invoke the component directly with its URL, effectively it returns the corresponding HTML code which you can append to any HTML element using JS. That's OK, the problem is that CSS styles are not applied as they should and client-side widgets are not initialized properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 11:08:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/loading-share-components-with-ajax/m-p/269533#M222663</guid>
      <dc:creator>alejandrogarcia</dc:creator>
      <dc:date>2013-01-23T11:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Share components with AJAX</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/loading-share-components-with-ajax/m-p/269534#M222664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;much of the Share product uses JavaScript components that work with AJAX. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can take a service - Clone it - modify to return data as say a JSON object vs HTML. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This would be done in the template pretty much the same way. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 21:11:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/loading-share-components-with-ajax/m-p/269534#M222664</guid>
      <dc:creator>michaelc</dc:creator>
      <dc:date>2013-01-23T21:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Share components with AJAX</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/loading-share-components-with-ajax/m-p/269535#M222665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know what you say, but what I really looking for is to invoke a component using URL and append its content wherever I want. As I said before:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;cite&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, forgot to mention I have performing some tests in order to achieve it. If you invoke the component directly with its URL, effectively it returns the corresponding HTML code which you can append to any HTML element using JS. That's OK, the problem is that CSS styles are not applied as they should and client-side widgets are not initialized properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/cite&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe it should be possible to do as I understand it is what Surf is doing in the background, nevertheless I don't know how CSS and JS dependencies for each component are managed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 08:53:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/loading-share-components-with-ajax/m-p/269535#M222665</guid>
      <dc:creator>alejandrogarcia</dc:creator>
      <dc:date>2013-01-24T08:53:54Z</dc:date>
    </item>
  </channel>
</rss>

