<?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: AMP extension and resource bundles in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57742#M35170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Frederick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are spot on with your analysis of how the webclient properties mechanism works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is indeed the cause of the issue in AMP files, I have added a comment to this effect in the bug on JIRA (&lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/browse/AWC-1149" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/AWC-1149&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should get resolved in the 2.1 release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2007 08:55:35 GMT</pubDate>
    <dc:creator>gavinc</dc:creator>
    <dc:date>2007-03-26T08:55:35Z</dc:date>
    <item>
      <title>AMP extension and resource bundles</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57735#M35163</link>
      <description>Hello,I'm trying to build a new AMP to ease the deployement of an extension developped on Alfresco 1.4.Previously, my localized messages were located in tomcat/shared/classes/alfresco/extension/webclient.properties, and it worked fine.Now, when deploying and running my AMP, it seems that the webclie</description>
      <pubDate>Wed, 28 Feb 2007 14:42:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57735#M35163</guid>
      <dc:creator>dgenard</dc:creator>
      <dc:date>2007-02-28T14:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: AMP extension and resource bundles</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57736#M35164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure why the old mechanism would stop working, have you checked that once deployed your property file ends up in the correct location?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also suggest splitting your file up into model, workflow, service and UI property files.&amp;nbsp; This may help to hightlight which methods of message inclusion are not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The module suport provided in 2.0 is still very basic and we hope to complete this in the 2.1 time frame.&amp;nbsp; If this problem persists I suggest loggin a Jira issue with as many details as you can.&amp;nbsp; This will help to ensure we resolve this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 12:06:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57736#M35164</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2007-03-02T12:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: AMP extension and resource bundles</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57737#M35165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In fact, the old mechanism still works if I place the webclient.properties file in the folder /config/alfresco/extension in my AMP file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this will lead to conflicts if multiple AMP files are installed on a same alfresco.war.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's why I wanted to place webclient.properties somewhere under the folder /config/alfresco/module/mymodule/.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This works fine for workflow, but fails with model and UI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll raise a JIRA issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 13:30:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57737#M35165</guid>
      <dc:creator>dgenard</dc:creator>
      <dc:date>2007-03-02T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: AMP extension and resource bundles</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57738#M35166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The JIRA issue : &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/browse/AWC-1149" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/AWC-1149&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 13:57:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57738#M35166</guid>
      <dc:creator>dgenard</dc:creator>
      <dc:date>2007-03-02T13:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: AMP extension and resource bundles</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57739#M35167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Denis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you been able to find a solution for this issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 13:28:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57739#M35167</guid>
      <dc:creator>lme</dc:creator>
      <dc:date>2007-03-14T13:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: AMP extension and resource bundles</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57740#M35168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I haven't found a solution yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As a workaround, I placed the webclient.properties file in the folder /config/alfresco/extension in the AMP.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 13:38:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57740#M35168</guid>
      <dc:creator>dgenard</dc:creator>
      <dc:date>2007-03-14T13:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: AMP extension and resource bundles</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57741#M35169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I ran into the same issue, and did some searching through the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that all message bundles that are registered through ResourceBundleBootstrapComponent beans or dictionaryModelBootstrap "labels" property tags get picked up correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;They get read by the U18NUtils.getMessage() method in packages such as org.alfresco.repo and org.alfresco.service.cmr.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a custom action executer packaged as a module, and its title gets read from the property file correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, most webclient-related messages (like wizard and dialog labels) are not accessed through this class, but use Application.getMessage() instead. This method only checks for the following paths:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- alfresco\messages\webclient&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- alfresco\extension\webclient&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And puts these two bundles in a bundlewrapper.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since there is no way to register bundles against the Application (the ResourceBundleWrapper sits in the session, and has no method to add more bundles), the only way to define labels in webclient config is either by hardcoding labels or using the alfresco/extension path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect you mistook webclient labels for model labels (eg. type names and descriptions in the Advanced Create Space wizard), and that your model labels are actually working correctly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 09:30:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57741#M35169</guid>
      <dc:creator>frederick</dc:creator>
      <dc:date>2007-03-23T09:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: AMP extension and resource bundles</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57742#M35170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Frederick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are spot on with your analysis of how the webclient properties mechanism works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is indeed the cause of the issue in AMP files, I have added a comment to this effect in the bug on JIRA (&lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/browse/AWC-1149" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/AWC-1149&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should get resolved in the 2.1 release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 08:55:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57742#M35170</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2007-03-26T08:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: AMP extension and resource bundles</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57743#M35171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried the workaround of placing webclient.properties in alfresco/extension but it doesn't seem to work in 2.0. I have to overwrite alfresco/messages/webclient.properties for my changes to have any affect. I am changing the company_home property..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Damon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 07:42:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-extension-and-resource-bundles/m-p/57743#M35171</guid>
      <dc:creator>damonrand</dc:creator>
      <dc:date>2007-05-01T07:42:50Z</dc:date>
    </item>
  </channel>
</rss>

