You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2009/12/26 09:14:29 UTC
[jira] Resolved: (WICKET-2641) EnumLabel misbehaves with anonymous
enum
[ https://issues.apache.org/jira/browse/WICKET-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag resolved WICKET-2641.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.5-M1
1.4.6
Assignee: Juergen Donnerstag
thanks
> 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
> Assignee: Juergen Donnerstag
> Fix For: 1.4.6, 1.5-M1
>
>
> 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.