-
Type:
Service Pack Request
-
Status: Closed
-
Resolution: Not a bug
-
Affects Version/s: 4.2.4
-
Fix Version/s: None
-
Component/s: Share Application
-
Labels:
-
Environment:Alfresco Community 4.2.f
Tomcat 7
Ubuntu 14.04
-
Bug Priority:
-
ACT Numbers:
00396976
I'm trying to use a localized list contraint to use in my customization.
I've defined a constraint like this:
<constraint name="my:gender" type="LIST">
<parameter name="allowedValues">
<list>
<value>male</value>
<value>female</value>
</list>
</parameter>
</constraint>
And the localization is like this
listconstraint.my_gender.male=Male
listconstraint.my_gender.female=Female
If I add the custom field using that list constraint in a metadata-template, like bellow, the documentLibrary component always shows the internal value (male/female) and not the localized ones (Male/Female).
<line index="10" id="customField">
{test:myCustomField prop.myCustomField}</line>
In all the others forms (view properties, edit properties, create new document), the property is correctly shown.
The problem only happens in documentLibrary list.