<stripes:options-enumeration>, inner class enums and internationalized labels
-----------------------------------------------------------------------------

                 Key: STS-835
                 URL: http://www.stripesframework.org/jira/browse/STS-835
             Project: Stripes
          Issue Type: Bug
          Components: Tag Library
    Affects Versions: Release 1.5.6
         Environment: (not relevant)
            Reporter: Giorgio Gallo
            Priority: Minor


I have an enum that is an inner class of another class, 
<stripes:options-enumeration enum="my.package.MyClass.MyEnum" /> correctly 
locates the enum (whose .class name MyClass$MyEnum), but then it tries to looks 
for my.package.MyEnum.VALUE (instead of "my.package.MyClass.MyEnum.VALUE" or 
"my.package.MyClass$MyEnum.VALUE") in StripesResources.properties.


The problem seems to be in 
net.sourceforge.stripes.tag.InputOptionsEnumerationTag, where the label is 
looked up with:

label = LocalizationUtility.getLocalizedFieldName(clazz.getSimpleName() + "." + 
item.name(), packageName, null, locale);




-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to