Description
Same problem as was with EnumChoiceRenderer (see WICKET-2609)
protected String resourceKey(T value)
{
return value.getClass().getSimpleName() + "." + value.name();
}
should be changed to:
protected String resourceKey(T value)
{
return value.getDeclaringClass().getSimpleName() + "." + value.name();
}
Attachments
Attachments
Issue Links
- relates to
-
WICKET-2609 EnumChoiceRenderer misbehaves with anonymous enum classes
- Resolved