You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Marat Radchenko (JIRA)" <ji...@apache.org> on 2009/12/25 11:03:29 UTC

[jira] Updated: (WICKET-2641) EnumLabel misbehaves with anonymous enum

     [ https://issues.apache.org/jira/browse/WICKET-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marat Radchenko updated WICKET-2641:
------------------------------------

    Component/s: wicket

> EnumLabel misbehaves with anonymous enum
> ----------------------------------------
>
>                 Key: WICKET-2641
>                 URL: https://issues.apache.org/jira/browse/WICKET-2641
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.5
>            Reporter: Marat Radchenko
>
> 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();
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.