[
http://www.stripesframework.org/jira/browse/STS-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter updated STS-835:
---------------------------
Fix Version/s: Release 1.5.7
> <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
> Fix For: Release 1.5.7
>
>
> 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 the data continuously generated in your IT infrastructure
contains a definitive record of customers, 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-novd2d
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development