<?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: Localizing String for drop down search option not working in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264854#M217984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you add labels for those values in the message bundle associated to the model that defines your Ig namespace, then it should work, if those list properties get their values from a regular LIST constraint in that model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you use some other mechanism to get them, i.e. by calling some custom business logic, then you'll probably need a custom labeling mechanism as well, e.g. one that matches labels based on a naming convention (e.g. Ig_nameofparty.Party_A, etc.).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Note: You can find info on registering the resource bundle here: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Registering_a_Model_Resource_Bundle" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Registering_a_Model_Resource_Bundle&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2012 05:30:09 GMT</pubDate>
    <dc:creator>arnoldschrijve1</dc:creator>
    <dc:date>2012-05-01T05:30:09Z</dc:date>
    <item>
      <title>Localizing String for drop down search option not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264851#M217981</link>
      <description>Hi I have tried doing Document Type, added few properties, able to apply the document type to documents and save the selected document type properties and I am able to search for the selected document type and display the documents in advanced search. "https://forums.alfresco.com/en/viewtopic.php?f=</description>
      <pubDate>Sun, 29 Apr 2012 11:17:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264851#M217981</guid>
      <dc:creator>bisana</dc:creator>
      <dc:date>2012-04-29T11:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Localizing String for drop down search option not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264852#M217982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ability to localize constraint values is new to version 4 (see JIRA: &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-9514" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-9514&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to add labels for the constraint values in the model for your property. E.g. like this in bpmModel.properties:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;listconstraint.bpm_allowedPriority.1=High&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2012 17:38:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264852#M217982</guid>
      <dc:creator>arnoldschrijve1</dc:creator>
      <dc:date>2012-04-30T17:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Localizing String for drop down search option not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264853#M217983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Arnold &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply, I am trying to localize the strings as shown in the link &lt;/SPAN&gt;&lt;A href="http://oss101.com/dm/advancedSearch.png" rel="nofollow noopener noreferrer"&gt;http://oss101.com/dm/advancedSearch.png&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I checked bpmModel.xml , I found out that it is for business process model . I got confused over here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Guidance requested&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Joseph John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 03:29:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264853#M217983</guid>
      <dc:creator>bisana</dc:creator>
      <dc:date>2012-05-01T03:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Localizing String for drop down search option not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264854#M217984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you add labels for those values in the message bundle associated to the model that defines your Ig namespace, then it should work, if those list properties get their values from a regular LIST constraint in that model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you use some other mechanism to get them, i.e. by calling some custom business logic, then you'll probably need a custom labeling mechanism as well, e.g. one that matches labels based on a naming convention (e.g. Ig_nameofparty.Party_A, etc.).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Note: You can find info on registering the resource bundle here: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Registering_a_Model_Resource_Bundle" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Registering_a_Model_Resource_Bundle&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 05:30:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264854#M217984</guid>
      <dc:creator>arnoldschrijve1</dc:creator>
      <dc:date>2012-05-01T05:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Localizing String for drop down search option not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264855#M217985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Arnold&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I have not&amp;nbsp; explained correctly, my problem is not the value in the drop down, my problem is that the label-id which I have defined in "share-config-custom.xml"&amp;nbsp; and in&amp;nbsp; "myModel.properties" is not getting resolved at the advance search option screen as shown with marked/shaded area in the my &lt;/SPAN&gt;&lt;A href="http://www.oss101.com/dm/advancedSearch.png" rel="nofollow noopener noreferrer"&gt;http://www.oss101.com/dm/advancedSearch.png&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the fields which has to be resolved are "lg:nameofparty, lg&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;urpose, lg:governinglaw,lg&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;rgin,lg:category" as shown in the above url &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my "&lt;/SPAN&gt;&lt;STRONG&gt;share-config-custom.xml"&lt;/STRONG&gt;&lt;SPAN&gt; , I have &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;field id="lg:nameofparty(ex.custom:prop)" label-id="assoc.lg_nameofparty" &amp;gt;&lt;BR /&gt;&amp;lt;control template="/org/alfresco/components/form/controls/selectone.ftl" /&amp;gt;&lt;BR /&gt;&amp;lt;/field&amp;gt;&lt;BR /&gt;&amp;lt;field id="lg:purpose(ex.custom:prop)" label-id="assoc.lg_purpose"&amp;nbsp; &amp;gt;&lt;BR /&gt;&amp;lt;control template="/org/alfresco/components/form/controls/selectone.ftl" /&amp;gt;&lt;BR /&gt;&amp;lt;/field&amp;gt;&lt;BR /&gt;&amp;lt;field id="lg:governinglaw(ex.custom:prop)"&amp;nbsp; label-id="assoc.lg_governinglaw"&amp;gt;&lt;BR /&gt;&amp;lt;control template="/org/alfresco/components/form/controls/selectone.ftl" /&amp;gt;&lt;BR /&gt;&amp;lt;/field&amp;gt;&lt;BR /&gt;&amp;lt;field id="lg:orgin(ex.custom:prop)" label-id="assoc.lg_orgin" &amp;gt;&lt;BR /&gt;&amp;lt;control template="/org/alfresco/components/form/controls/selectone.ftl" /&amp;gt;&lt;BR /&gt;&amp;lt;/field&amp;gt;&lt;BR /&gt;&amp;lt;field id="lg:category(ex.custom:prop)" label-id="assoc.lg_category" &amp;gt;&lt;BR /&gt;&amp;lt;control template="/org/alfresco/components/form/controls/selectone.ftl" /&amp;gt;&lt;BR /&gt;&amp;lt;/field&amp;gt;&lt;BR /&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;Hope I am able to explain it more clearly &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Joseph John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 06:29:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264855#M217985</guid>
      <dc:creator>bisana</dc:creator>
      <dc:date>2012-05-01T06:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Localizing String for drop down search option not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264856#M217986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, sorry, that wasn't clear to me. Looking at the code snippet I think the '(ex.custom&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rop)' suffix won't work.. (at least not on the 4.0.b that I am using…don't know about 4.0.d) Should be just id="lg:nameofparty", etc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 07:19:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264856#M217986</guid>
      <dc:creator>arnoldschrijve1</dc:creator>
      <dc:date>2012-05-01T07:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Localizing String for drop down search option not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264857#M217987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the mail &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If is only ""lg:nameofparty", I wont be able to display the search option in drop down menu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please check my former post &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=48&amp;amp;t=44362" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=48&amp;amp;t=44362&lt;/A&gt;&lt;SPAN&gt; about the drop down option&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Joseph John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 07:35:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264857#M217987</guid>
      <dc:creator>bisana</dc:creator>
      <dc:date>2012-05-01T07:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Localizing String for drop down search option not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264858#M217988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm, I don't know this notation of id's and can't find info on it on the wiki. I think mitpatoliya in the other thread might have included it as sample text (i.e. property id = custom&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rop = lg:nameofparty).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you make the id="lg:nameofparty" then the label-id should work. You can localize the list values in the message bundle, but you can also specify value/label pairs in the form definition on the selectone form control, by setting the 'options' controlparameter. See: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms#selectone.ftl" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms#selectone.ftl&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the model you can specify the default value for the list property as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 08:06:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264858#M217988</guid>
      <dc:creator>arnoldschrijve1</dc:creator>
      <dc:date>2012-05-01T08:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Localizing String for drop down search option not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264859#M217989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just my two cents, may not apply here. Generally speaking, depending on situation, option values inside the dropdown list &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;control .. selectone.ftl" /&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;SPAN&gt; may be fetched from a resource bundle in a different context to its field label &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;field .. label-id= ..&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;SPAN&gt;.&amp;nbsp; Eg. the select option values could come from a resource bundle in Alfresco's Spring context if EnumParameterConstraint is used while the actual label could come from a resource bundle sitting in Share's Spring context.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 20:52:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/localizing-string-for-drop-down-search-option-not-working/m-p/264859#M217989</guid>
      <dc:creator>ctan</dc:creator>
      <dc:date>2015-05-12T20:52:00Z</dc:date>
    </item>
  </channel>
</rss>

