<?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: Where should I put my dashlet's .css &amp; .js files? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/where-should-i-put-my-dashlet-s-css-js-files/m-p/248893#M202023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I think Tomcat's shared classloader hangs onto the old files. At Alfresco, we tend to deploy Share to a separate Tomcat instance on port 8081 so a Share restart only takes about 10 seconds.&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>Fri, 07 Oct 2011 12:00:00 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2011-10-07T12:00:00Z</dc:date>
    <item>
      <title>Where should I put my dashlet's .css &amp; .js files?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-should-i-put-my-dashlet-s-css-js-files/m-p/248890#M202020</link>
      <description>Hi,I've done a little dashlet and I've placed it in:&amp;lt;ALF_HOME&amp;gt;/tomcat/shared/classes/alfresco/web-extension/site-webscripts/com/jordiv/‍I've seen some dashlets that put their custom CSS &amp;amp; JS files inside the share webapp, specifically:&amp;lt;ALF_HOME&amp;gt;/tomcat/webapps/share/components/dashle</description>
      <pubDate>Fri, 07 Oct 2011 10:38:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-should-i-put-my-dashlet-s-css-js-files/m-p/248890#M202020</guid>
      <dc:creator>jordiv</dc:creator>
      <dc:date>2011-10-07T10:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Where should I put my dashlet's .css &amp; .js files?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-should-i-put-my-dashlet-s-css-js-files/m-p/248891#M202021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Build a jar file instead (take a look at the "Share extras" project on Google Code). Then you can reference your client-side files using the "/res" servlet and they can remain outside the share.war.&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>Fri, 07 Oct 2011 10:48:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-should-i-put-my-dashlet-s-css-js-files/m-p/248891#M202021</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2011-10-07T10:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Where should I put my dashlet's .css &amp; .js files?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-should-i-put-my-dashlet-s-css-js-files/m-p/248892#M202022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mike, I've tried that and it works!&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Just one question. Until now, when I uploaded a new version of my webscript to Alfresco, I was refreshing it using the "Refresh Web Scripts" button (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;:8080/share/page/index).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, when I upload my new .jar file to Alfresco, I can't refresh it using that method. I've tried it but it doesn't work. Is there any other way to refresh it without restarting Alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jordi.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 11:45:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-should-i-put-my-dashlet-s-css-js-files/m-p/248892#M202022</guid>
      <dc:creator>jordiv</dc:creator>
      <dc:date>2011-10-07T11:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Where should I put my dashlet's .css &amp; .js files?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-should-i-put-my-dashlet-s-css-js-files/m-p/248893#M202023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I think Tomcat's shared classloader hangs onto the old files. At Alfresco, we tend to deploy Share to a separate Tomcat instance on port 8081 so a Share restart only takes about 10 seconds.&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>Fri, 07 Oct 2011 12:00:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-should-i-put-my-dashlet-s-css-js-files/m-p/248893#M202023</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2011-10-07T12:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Where should I put my dashlet's .css &amp; .js files?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-should-i-put-my-dashlet-s-css-js-files/m-p/248894#M202024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, thanks for the tip.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jordi.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 13:07:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-should-i-put-my-dashlet-s-css-js-files/m-p/248894#M202024</guid>
      <dc:creator>jordiv</dc:creator>
      <dc:date>2011-10-07T13:07:08Z</dc:date>
    </item>
  </channel>
</rss>

