<?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: Extending webclient.properties I18N messages in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13460#M5649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Gavin just added this to the WIKI: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/w/index.php?title=Adding_Custom_I18N_Strings&amp;amp;rcid=5819" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/w/index.php?title=Adding_Custom_I18N_Strings&amp;amp;rcid=5819&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2006 09:30:47 GMT</pubDate>
    <dc:creator>simon</dc:creator>
    <dc:date>2006-05-19T09:30:47Z</dc:date>
    <item>
      <title>Extending webclient.properties I18N messages</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13455#M5644</link>
      <description>Hi Alf,I'm building my own LoginBean here, well, extending the Alfresco LoginBean and tweaking some code that is, and today I added some messages to show to the end users:Utils.addErrorMessage(Application.getMessage(fc, MSG_ERROR_WRONG_PATH));‍I want to make this as flexible as possible, supporting</description>
      <pubDate>Fri, 28 Apr 2006 14:01:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13455#M5644</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-04-28T14:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Extending webclient.properties I18N messages</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13456#M5645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No comments on this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 09:32:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13456#M5645</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-05-10T09:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extending webclient.properties I18N messages</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13457#M5646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Simon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, currently you have to add them to webclient.properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm literally working on the solution to this as we speak, in 1.3 you will have a webclient-custom.properties (or something similar) to add custom strings to.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 15:29:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13457#M5646</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-05-10T15:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Extending webclient.properties I18N messages</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13458#M5647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Gavin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good to know that you are making progress here. Would be nice if we could just add this new properties file to our packages (e.g. a JAR file) without changing the Alfresco configuration. Making plugins for Alfresco will be easier.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 12:51:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13458#M5647</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-05-11T12:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Extending webclient.properties I18N messages</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13459#M5648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, I have just checked in a change to SVN that will allow custom properties files to be used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the change you can place a webclient.properties in the alfresco.extension package (this can be in a JAR if you like) and it will be used for string lookups (if present). This will be used for any strings that are defined outside of JSP files i.e. in config files or in our JSF components.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Strings that are looked up on the JSP page will need to add some extra code to the JSP page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On your custom JSP add the following line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;f:loadBundle basename="alfresco.extension.webclient" var="custom"/&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This will then allow you to reference your custom properties file, for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;h:outputText value="#{custom.your_string_id}" /&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do this with any resource bundle so you don't HAVE to use webclient.properties, you can use any name you like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also just to be clear, it's only the web client config XML files i.e. web-client-config-custom.xml and the JSPs that can not currently be placed in a JAR file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 13:13:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13459#M5648</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-05-11T13:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extending webclient.properties I18N messages</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13460#M5649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Gavin just added this to the WIKI: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/w/index.php?title=Adding_Custom_I18N_Strings&amp;amp;rcid=5819" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/w/index.php?title=Adding_Custom_I18N_Strings&amp;amp;rcid=5819&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 09:30:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-webclient-properties-i18n-messages/m-p/13460#M5649</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-05-19T09:30:47Z</dc:date>
    </item>
  </channel>
</rss>

