<?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 Alfresco Share :- JAVA SCRIPT PATH Doubt in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261919#M215049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Team,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I explored Alfresco Share for Customization. I found that to refer&amp;nbsp; (or LOAD )JavaScript path at some location ; Alfresco have nicely used &lt;/SPAN&gt;&lt;STRONG&gt; src="${page.url.context}/res/modules/simple-dialog.js"&lt;/STRONG&gt;&lt;SPAN&gt; while rendering it will be &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;serverName&amp;gt;: &amp;lt;port&amp;gt;/share/&amp;lt;your component or etc…&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understood the {page.url.context} but what about &lt;/SPAN&gt;&lt;STRONG&gt;/res/&lt;/STRONG&gt;&lt;SPAN&gt;. I am &lt;/SPAN&gt;&lt;STRONG&gt;not &lt;/STRONG&gt;&lt;SPAN&gt;able find this folder any where in Alfresco or Alfresco Share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please guide me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Nirvan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2011 11:18:20 GMT</pubDate>
    <dc:creator>nirvanvjain</dc:creator>
    <dc:date>2011-11-15T11:18:20Z</dc:date>
    <item>
      <title>Alfresco Share :- JAVA SCRIPT PATH Doubt</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261919#M215049</link>
      <description>Dear Team,I explored Alfresco Share for Customization. I found that to refer&amp;nbsp; (or LOAD )JavaScript path at some location ; Alfresco have nicely used  src="${page.url.context}/res/modules/simple-dialog.js" while rendering it will be &amp;lt;serverName&amp;gt;: &amp;lt;port&amp;gt;/share/&amp;lt;your component or etc…&amp;gt;</description>
      <pubDate>Tue, 15 Nov 2011 11:18:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261919#M215049</guid>
      <dc:creator>nirvanvjain</dc:creator>
      <dc:date>2011-11-15T11:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Share :- JAVA SCRIPT PATH Doubt</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261920#M215050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Nirvan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any URL beginning /share/res is initially converted via the URLRewriter to /share/page/resource (which maps it to the Spring MVC dispatcher servlet) which then maps the request to the "resourceController" bean. This controller attempts to locate the resource defined by the remainder of the URL from a number of locations. Resources that are typically loaded are images, CSS, JavaScript, etc (but could be anything) and will be resolved to various locations available to the application (all of which are configurable through Spring application context changes). Typically this allows you to reference resources from anywhere within the application or the classpath.&amp;nbsp; It also allows you to reference resources that are stored under the META-INF directory of JARs on the classpath.&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>Thu, 17 Nov 2011 14:05:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261920#M215050</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2011-11-17T14:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Share :- JAVA SCRIPT PATH Doubt</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261921#M215051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Dave Sir,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a billion for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your Answer is so perfect but For such a naive user like me needs some example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sir, can you please give me some very small example and guide me if possible ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Nirvan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 15:25:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261921#M215051</guid>
      <dc:creator>nirvanvjain</dc:creator>
      <dc:date>2011-11-17T15:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Share :- JAVA SCRIPT PATH Doubt</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261922#M215052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Example: In then opening post on this topic you're asking where ${page.url.context}/res/modules/simple-dialog.js is located.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well… ${page.url.context} is the application context (i.e. share).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/res maps to the resourceController bean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This bean looks in a number of locations for /modules/simple-dialog.js&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It locates this under webapps/share and returns it. If you look in your exploded "share" WAR file under the webapps directory you will see the "modules" folder which contains the "simple-dialog.js" file… this is the file that is getting returned.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 16:34:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261922#M215052</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2011-11-17T16:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Share :- JAVA SCRIPT PATH Doubt</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261923#M215053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Sir,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again thanks for your reply. I understand now and If I am not wrong then for all other path (for components/JavaScript etc) ; it refers the same way and pick the path. Am I correct sir ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Nirvan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 03:18:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261923#M215053</guid>
      <dc:creator>nirvanvjain</dc:creator>
      <dc:date>2011-11-18T03:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Share :- JAVA SCRIPT PATH Doubt</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261924#M215054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you're correct.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 17:00:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-share-java-script-path-doubt/m-p/261924#M215054</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2011-11-18T17:00:48Z</dc:date>
    </item>
  </channel>
</rss>

