<?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: Execute js after page load in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/execute-js-after-page-load/m-p/267773#M220903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are using YUI you should follow the pattern that Alfresco uses. Your client-side component can register a listener that will get called when the page and all of its dependencies have loaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can see an example of an onReady here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/p/alfresco-get-latest-document/source/browse/tags/2.0/source/web/extension/components/dashlets/get-latest-doc.js" rel="nofollow noopener noreferrer"&gt;http://code.google.com/p/alfresco-get-latest-document/source/browse/tags/2.0/source/web/extension/components/dashlets/get-latest-doc.js&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it isn't a very exciting example. You might look around at &lt;/SPAN&gt;&lt;A href="http://code.google.com/p/share-extras/" rel="nofollow noopener noreferrer"&gt;Share Extras&lt;/A&gt;&lt;SPAN&gt; to see if there are some better examples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Jun 2012 00:19:53 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2012-06-02T00:19:53Z</dc:date>
    <item>
      <title>Execute js after page load</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execute-js-after-page-load/m-p/267772#M220902</link>
      <description>Hi all,I have a question about how to execute the js after a&amp;nbsp; edit form pop up.Right now I have a edit form with a select list, and I want to add item to the list by js.I have tried to add the js in the control template, but it executed before the edit form load, so it can never find the control tha</description>
      <pubDate>Fri, 04 May 2012 20:27:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execute-js-after-page-load/m-p/267772#M220902</guid>
      <dc:creator>zlu</dc:creator>
      <dc:date>2012-05-04T20:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Execute js after page load</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execute-js-after-page-load/m-p/267773#M220903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are using YUI you should follow the pattern that Alfresco uses. Your client-side component can register a listener that will get called when the page and all of its dependencies have loaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can see an example of an onReady here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/p/alfresco-get-latest-document/source/browse/tags/2.0/source/web/extension/components/dashlets/get-latest-doc.js" rel="nofollow noopener noreferrer"&gt;http://code.google.com/p/alfresco-get-latest-document/source/browse/tags/2.0/source/web/extension/components/dashlets/get-latest-doc.js&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it isn't a very exciting example. You might look around at &lt;/SPAN&gt;&lt;A href="http://code.google.com/p/share-extras/" rel="nofollow noopener noreferrer"&gt;Share Extras&lt;/A&gt;&lt;SPAN&gt; to see if there are some better examples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jun 2012 00:19:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execute-js-after-page-load/m-p/267773#M220903</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-06-02T00:19:53Z</dc:date>
    </item>
  </channel>
</rss>

