<?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: how to add a resource bundle in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-resource-bundle/m-p/152366#M107023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know that these files should be under /classes but I don't have a choice, my files are under tomcat/webapps/myalfresco/config/…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So how do I get to them in the basename attribute of the f:loadBundle tag?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Aug 2008 14:29:29 GMT</pubDate>
    <dc:creator>tfaudot</dc:creator>
    <dc:date>2008-08-01T14:29:29Z</dc:date>
    <item>
      <title>how to add a resource bundle</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-resource-bundle/m-p/152362#M107019</link>
      <description>Hello everyone,I'm quite new to this kind of architecture and I was wondering how to do something so please excuse my question which I'm sure is something trivial&amp;nbsp; &lt;IMG id="smileyindifferent" class="emoticon emoticon-smileyindifferent" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-indifferent.png" alt="Smiley Indifferent" title="Smiley Indifferent" /&gt; I would like to import a personalized resource bundle like the messages in alfresco and be able to use it in my jsp by using the #{my</description>
      <pubDate>Fri, 01 Aug 2008 11:46:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-resource-bundle/m-p/152362#M107019</guid>
      <dc:creator>tfaudot</dc:creator>
      <dc:date>2008-08-01T11:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to add a resource bundle</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-resource-bundle/m-p/152363#M107020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Download the Alfresco SDK and go through the Custom Login example. It has a working example. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create webclient.properties in tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/webclient.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Load the bundle in your JSP;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;f:loadBundle basename="alfresco.extension.webclient" var="customMsg"/&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Use it in your JSP;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;h:outputText value="#{customMsg.hello_world}"/&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 12:46:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-resource-bundle/m-p/152363#M107020</guid>
      <dc:creator>zaizi</dc:creator>
      <dc:date>2008-08-01T12:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to add a resource bundle</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-resource-bundle/m-p/152364#M107021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks I found this code one hour ago but I've struggling with it since… because my properties file will be placed in a "config" folder at the same level alfresco is deployed… (I can't change this path, it's a constraint…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so basically:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/myAlfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;UL&gt;config&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;mypropertyfiles.properties&lt;/LI&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;LI&gt;css&lt;/LI&gt;&amp;nbsp;&amp;nbsp; &lt;LI&gt;images&lt;/LI&gt;&amp;nbsp;&amp;nbsp; &lt;LI&gt;jsp&lt;/LI&gt;&amp;nbsp;&amp;nbsp; &lt;LI&gt;WEB-INF&lt;/LI&gt;&amp;nbsp;&amp;nbsp; &lt;LI&gt;…&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;What is the proper way to access my file then? I can't find the good path &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 12:57:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-resource-bundle/m-p/152364#M107021</guid>
      <dc:creator>tfaudot</dc:creator>
      <dc:date>2008-08-01T12:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to add a resource bundle</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-resource-bundle/m-p/152365#M107022</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;New message bundles/files go into the alfresco extension location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In tomcat, this would be tomcat\shared\classes\alfresco\messages (or anywhere on your classpath in the directory structure 'classes\alfresco\messages')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 14:17:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-resource-bundle/m-p/152365#M107022</guid>
      <dc:creator>steve</dc:creator>
      <dc:date>2008-08-01T14:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to add a resource bundle</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-resource-bundle/m-p/152366#M107023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know that these files should be under /classes but I don't have a choice, my files are under tomcat/webapps/myalfresco/config/…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So how do I get to them in the basename attribute of the f:loadBundle tag?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 14:29:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-resource-bundle/m-p/152366#M107023</guid>
      <dc:creator>tfaudot</dc:creator>
      <dc:date>2008-08-01T14:29:29Z</dc:date>
    </item>
  </channel>
</rss>

