[
http://www.stripesframework.org/jira/browse/STS-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter resolved STS-835.
----------------------------
Resolution: Fixed
Fix Version/s: Release 1.6
Assignee: Ben Gunter
Thank you. This is fixed for 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
> Assignee: Ben Gunter
> Priority: Minor
> Fix For: Release 1.5.7, Release 1.6
>
>
> 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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development