<?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: setContextPath no longer works with absurl in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/setcontextpath-no-longer-works-with-absurl/m-p/208075#M161205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALFCOM-2544" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALFCOM-2544&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but I realized, it's not absurl&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it's any setContextPath in an external app&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so if /myapp and /alfresco are running on the same server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setContextPath('/alfresco') no longer works from within /myapp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and you need to set _alfContextPath&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually the method seems like it was changed just make this setContextPath fail in such a case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know the reasoning.&amp;nbsp; I do know it was non-trivial to get node summary panel working outside alfresco in the first place.&amp;nbsp; Maybe there's a better alternative now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks for the heads-up Steve.&lt;BR /&gt;&lt;BR /&gt;If you get a chance (and haven't already), could you raise the issue in &lt;A href="http://issues.alfresco.com/" rel="nofollow noopener noreferrer"&gt;JIRA&lt;/A&gt; please?&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;Mike&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jan 2009 17:50:16 GMT</pubDate>
    <dc:creator>steve_tekell</dc:creator>
    <dc:date>2009-01-29T17:50:16Z</dc:date>
    <item>
      <title>setContextPath no longer works with absurl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setcontextpath-no-longer-works-with-absurl/m-p/208073#M161203</link>
      <description>a change to setContextPath in v3 (3Stable/Final)breaks this&amp;lt;script&amp;gt; setContextPath('${absurl(url.context)}'); &amp;lt;/script&amp;gt;‍the context path will get set to "" and Ajax won't work.the workaround I found was to set _alfContextPath directly&amp;lt;script&amp;gt; _alfContextPath = '${absurl(url.context</description>
      <pubDate>Wed, 28 Jan 2009 22:21:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setcontextpath-no-longer-works-with-absurl/m-p/208073#M161203</guid>
      <dc:creator>steve_tekell</dc:creator>
      <dc:date>2009-01-28T22:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: setContextPath no longer works with absurl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setcontextpath-no-longer-works-with-absurl/m-p/208074#M161204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the heads-up Steve.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you get a chance (and haven't already), could you raise the issue in &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/" rel="nofollow noopener noreferrer"&gt;JIRA&lt;/A&gt;&lt;SPAN&gt; please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 22:23:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setcontextpath-no-longer-works-with-absurl/m-p/208074#M161204</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-01-28T22:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: setContextPath no longer works with absurl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setcontextpath-no-longer-works-with-absurl/m-p/208075#M161205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALFCOM-2544" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALFCOM-2544&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but I realized, it's not absurl&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it's any setContextPath in an external app&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so if /myapp and /alfresco are running on the same server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setContextPath('/alfresco') no longer works from within /myapp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and you need to set _alfContextPath&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually the method seems like it was changed just make this setContextPath fail in such a case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know the reasoning.&amp;nbsp; I do know it was non-trivial to get node summary panel working outside alfresco in the first place.&amp;nbsp; Maybe there's a better alternative now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks for the heads-up Steve.&lt;BR /&gt;&lt;BR /&gt;If you get a chance (and haven't already), could you raise the issue in &lt;A href="http://issues.alfresco.com/" rel="nofollow noopener noreferrer"&gt;JIRA&lt;/A&gt; please?&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;Mike&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 17:50:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setcontextpath-no-longer-works-with-absurl/m-p/208075#M161205</guid>
      <dc:creator>steve_tekell</dc:creator>
      <dc:date>2009-01-29T17:50:16Z</dc:date>
    </item>
  </channel>
</rss>

