We're updating the issue view to help you get more done. 

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

Description

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);

Environment

(not relevant)

Status

Assignee

BenB

Reporter

Labels

None

Tester

None

Components

Fix versions

Affects versions

Release 1.5.6

Priority

Minor