<?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 Doubt in the JSP code: in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/doubt-in-the-jsp-code/m-p/177006#M130136</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 was going through the &lt;/SPAN&gt;&lt;SPAN style="color:#FF0000;"&gt;browse.jsp &lt;/SPAN&gt;&lt;SPAN&gt;of Web-Client project and got a few doubts while understanding the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%– load a bundle of properties with I18N strings –%&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;f:loadBundle basename="alfresco.messages.webclient" var="msg"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is happening here? from the comment I can get that, it is loading a properties file and its values. But I am not able to find out what all properties file are loaded and from where they are taken?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. &amp;lt;h:graphicImage id="img-rule" url="/images/icons/rule.gif" width="16" height="16" title="#{&lt;/SPAN&gt;&lt;STRONG style="color: #FF0000;"&gt;msg.rules_count&lt;/STRONG&gt;&lt;SPAN&gt;}" /&amp;gt; &amp;lt;h&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;utputText value="(#{NavigationBean.ruleCount})" id="rulemsg1" style="vertical-align:20%" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the bolded piece, I understand that msg is a variable that was created while loading the bundle. But I searched among the whole files for rules_count and unable to find it in any file. To my understanding this will be the key of some value in a property file. Please let me know, if I am in the right path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me out in clearing these questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sherry.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2008 15:26:28 GMT</pubDate>
    <dc:creator>sherrymax</dc:creator>
    <dc:date>2008-10-22T15:26:28Z</dc:date>
    <item>
      <title>Doubt in the JSP code:</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/doubt-in-the-jsp-code/m-p/177006#M130136</link>
      <description>Hi,I was going through the browse.jsp of Web-Client project and got a few doubts while understanding the code.1.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%– load a bundle of properties with I18N strings –%&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;f:loadBundle basename="alfresco.messages.webclient" var="msg"/&amp;gt;What is happening here? from the comment I can get t</description>
      <pubDate>Wed, 22 Oct 2008 15:26:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/doubt-in-the-jsp-code/m-p/177006#M130136</guid>
      <dc:creator>sherrymax</dc:creator>
      <dc:date>2008-10-22T15:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in the JSP code:</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/doubt-in-the-jsp-code/m-p/177007#M130137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Look at the file webclient.properties in the Web-Client project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This contains the following line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rules_count=Number of rules applied to this Space&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if we are in the default locale "Number of rules applied to this Space" is displayed on the web page.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 15:38:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/doubt-in-the-jsp-code/m-p/177007#M130137</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2008-10-22T15:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in the JSP code:</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/doubt-in-the-jsp-code/m-p/177008#M130138</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;Thanks, mrogers. Good news finally.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to find webclient.properties file at C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\messages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But one thing, that i dont understand is, in my workspace, I cant find any webclient.properties file, in any projects. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea, how it came to the deployed webapp.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sherry.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 18:53:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/doubt-in-the-jsp-code/m-p/177008#M130138</guid>
      <dc:creator>sherrymax</dc:creator>
      <dc:date>2008-10-22T18:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in the JSP code:</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/doubt-in-the-jsp-code/m-p/177009#M130139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On my Eclipse workspace (which is based on a co from svn) webclient.properties is in root/projects/web-client/config/alfreco/messages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ant build system has packaged the config directory into the classes directory of the alfresco web archive which has then been expanded by tomcat.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 11:11:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/doubt-in-the-jsp-code/m-p/177009#M130139</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2008-10-23T11:11:26Z</dc:date>
    </item>
  </channel>
</rss>

